All Packages Class Hierarchy This Package Previous Next Index
Class GraphicPlotter.MagnifiableComponent
java.lang.Object
|
+----java.awt.Component
|
+----GraphicPlotter.MagnifiableComponent
- public class MagnifiableComponent
- extends Component
A Component that may be magnified in a MagnifingPane.
- See Also:
- MagnifyingPane
-
MagnifiableComponent()
-
-
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.
MagnifiableComponent
public MagnifiableComponent()
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