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

Constructor Index

 o MagnifiableComponent()

Method Index

 o getGraphics()
Override getGraphics to return a Graphics whose clipping bounds cover the currently visible area as opposed to the magnified area.
 o getViewportSize()
Return the size of the viewport into this object.

Constructors

 o MagnifiableComponent
 public MagnifiableComponent()

Methods

 o 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
 o 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