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 Detail

      • getLimits

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

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