Class Zoom
- java.lang.Object
-
- adams.gui.visualization.core.axis.Zoom
-
- All Implemented Interfaces:
CloneHandler<Zoom>
,Serializable
public class Zoom extends Object implements Serializable, CloneHandler<Zoom>
A container class for the min/max of a zoom.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Zoom(double min, double max)
Initializes the container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Zoom
getClone()
Returns a copy of itself.double
getMaximum()
Returns the stored maximum.double
getMinimum()
Returns the stored minimum.String
toString()
Returns the zoom as string.
-
-
-
Method Detail
-
getClone
public Zoom getClone()
Returns a copy of itself.- Specified by:
getClone
in interfaceCloneHandler<Zoom>
- Returns:
- the copy
-
getMinimum
public double getMinimum()
Returns the stored minimum.- Returns:
- the minimum
-
getMaximum
public double getMaximum()
Returns the stored maximum.- Returns:
- the maximum
-
-