analyzer.plot
Class PlotBox
java.lang.Object
|
+--analyzer.plot.PlotElement
|
+--analyzer.plot.PlotBox
- Direct Known Subclasses:
- Plot
- public class PlotBox
- extends PlotElement
Container class for PlotElements.
Field Summary |
protected CoordSys |
coordSys
Transformation for this local coordinate system. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
coordSys
protected CoordSys coordSys
- Transformation for this local coordinate system. Actual mapping
local coordinates to user coordinates is in the affine transformation
part of the coordSys. Affine transformation is a product of the
affine transforms from all parents and must be recalculated.
PlotBox
public PlotBox()
- Default constructor
PlotBox
public PlotBox(CoordRange limits,
CoordRange location)
PlotBox
public PlotBox(CoordRange limits,
CoordRange location,
boolean rotated)
addElement
public void addElement(PlotElement e)
- Add an element to be ploted in this box.
- Overrides:
- addElement in class PlotElement
paint
public void paint(java.awt.Graphics2D g)
- Plot the contents of this PlotBox. First recalculate the affine
transformation for this box, then call paint for all elements.
- Overrides:
- paint in class PlotElement
getCoordSys
public CoordSys getCoordSys()
- Get the coordinate system.
Email questions and comments to
shumway@uiuc.edu or nzhong@ncsa.uiuc.edu