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

Constructor Index

 o MagnifiableContainer()

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 MagnifiableContainer
 public MagnifiableContainer()

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