All Packages Class Hierarchy This Package Previous Next Index
Interface GraphicPlotter.Magnifier
- public abstract interface Magnifier
Interface for an object that controls the magnification of a number
of components. Magnification values are in terms of percent of a
default size.
-
DEFAULT_VALUE
- The default magnification value.
-
getMagnification()
- Return the current magnification.
-
getMagnificationMax()
- Return the maximum magnification value.
-
getMagnificationMin()
- Return the minimum magnification value.
-
setMagnification(int)
- Set the magnification.
-
validateAll()
- Validate the components controlled by the magnifier.
DEFAULT_VALUE
public static final int DEFAULT_VALUE
- The default magnification value.
getMagnificationMin
public abstract int getMagnificationMin()
- Return the minimum magnification value.
getMagnificationMax
public abstract int getMagnificationMax()
- Return the maximum magnification value.
getMagnification
public abstract int getMagnification()
- Return the current magnification.
setMagnification
public abstract void setMagnification(int magnification)
- Set the magnification.
validateAll
public abstract void validateAll()
- Validate the components controlled by the magnifier. After
changing the magnification, the components need to be validated.
This validation is not done when the magnification is changed
because the same component may be under the control of multiple
magnifiers (for example, a component may be magnifiable both
horizontally and vertically). The validation should be done once
after all the magnifications have changed.
All Packages Class Hierarchy This Package Previous Next Index