edu.hws.jcm.awt
Interface Limits

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CoordinateRect, LimitControlPanel

public interface Limits
extends java.io.Serializable

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.


Method Summary
 double[] getLimits()
          Return a 4-element array containing xmin, xmax, ymin, and ymax.
 void setLimits(double[] limits)
          Set the current limits.
 

Method Detail

getLimits

public double[] getLimits()
Return a 4-element array containing xmin, xmax, ymin, and ymax.

setLimits

public void setLimits(double[] limits)
Set the current limits.
Parameters:
A - 4-element array containing the new xmin, xmax, ymin, and ymax.