All Packages Class Hierarchy This Package Previous Next Index
Class GraphicPlotter.MagnifiableContainer
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----GraphicPlotter.MagnifiableContainer
- public class MagnifiableContainer
- extends Container
A Container that may be magnified in a MagnifyingPane.
- See Also:
- MagnifyingPane
-
MagnifiableContainer()
-
-
getGraphics()
- Override getGraphics to return a Graphics whose clipping bounds
cover the currently visible area as opposed to the magnified area.
-
getViewportSize()
- Return the size of the viewport into this object.
MagnifiableContainer
public MagnifiableContainer()
getGraphics
public Graphics getGraphics()
- Override getGraphics to return a Graphics whose clipping bounds
cover the currently visible area as opposed to the magnified area.
- Overrides:
- getGraphics in class Component
getViewportSize
public Dimension getViewportSize()
- Return the size of the viewport into this object. If this object
is in a MagnifyingPane, the viewport size is the size of that
MagnifyingPane. Otherwise, the viewport size is the size of
this object.
All Packages Class Hierarchy This Package Previous Next Index