| edu.hws.jcm.awt.Limits
All known Subclasses: edu.hws.jcm.draw.CoordinateRect, edu.hws.jcm.draw.LimitControlPanel,
Limits | public interface Limits extends java.io.Serializable(Code) | | The Limits interface is implemented by edu.hws.jcm.data.CoordinateRect
and by other objects that can be "Tied" to a CoordinateRect, such as
LimitControlPanel. This will be used to synchronize the (x,y)
limits on the CoordinateRect with limit values obtained elsewhere.
See the Tie class for more information.
author: David Eck |
Method Summary | |
public double[] | getLimits() Return a 4-element array containing xmin, xmax, ymin, and ymax. | public void | setLimits(double[] limits) Set the current limits. |
getLimits | public double[] getLimits()(Code) | | Return a 4-element array containing xmin, xmax, ymin, and ymax.
|
setLimits | public void setLimits(double[] limits)(Code) | | Set the current limits.
Parameters: A - 4-element array containing the new xmin, xmax, ymin, and ymax. |
|
|