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.


Variable Index

 o DEFAULT_VALUE
The default magnification value.

Method Index

 o getMagnification()
Return the current magnification.
 o getMagnificationMax()
Return the maximum magnification value.
 o getMagnificationMin()
Return the minimum magnification value.
 o setMagnification(int)
Set the magnification.
 o validateAll()
Validate the components controlled by the magnifier.

Variables

 o DEFAULT_VALUE
 public static final int DEFAULT_VALUE
The default magnification value.

Methods

 o getMagnificationMin
 public abstract int getMagnificationMin()
Return the minimum magnification value.

 o getMagnificationMax
 public abstract int getMagnificationMax()
Return the maximum magnification value.

 o getMagnification
 public abstract int getMagnification()
Return the current magnification.

 o setMagnification
 public abstract void setMagnification(int magnification)
Set the magnification.

 o 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