physicon.graphLib
Class LinearGrid

java.lang.Object
  |
  +--physicon.graphLib.GraphElementBase
        |
        +--physicon.graphLib.GraphScaleBase
              |
              +--physicon.graphLib.LinearGrid

public class LinearGrid
extends GraphScaleBase

Represents linear grid perpendicular to the given scale


Constructor Summary
LinearGrid(LinearGridDrawer _drawer, GraphScaleBase _scale, double _minParam, double _maxParam)
          Constructor.
 
Method Summary
 void updateDrawer()
          Updates the drawer object.
 
Methods inherited from class physicon.graphLib.GraphScaleBase
getMaxParam, getMinParam, setMaxParam, setMinParam
 
Methods inherited from class physicon.graphLib.GraphElementBase
addDependent, contains, contains, getContainer, getContext, getDepend, getDrawer, getGEObject, getGraphElement, getRedrawFlag, getRefPoint, getRoughRect, getZLevel, isCreated, isVisible, setDrawer, setRedrawFlag, setRefPoint, setVisible, setZLevel, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearGrid

public LinearGrid(LinearGridDrawer _drawer,
                  GraphScaleBase _scale,
                  double _minParam,
                  double _maxParam)
Constructor.
Parameters:
_drawer - - drawer object for this grid
_scale - - the scale this scale based on. This scale must be inserted to the container for the moment of inserting this grid to the container. The scale is used to fill the drawer's dashes array
_minParam - - minimum parameter for the grid
_maxParam - - maximum parameter for the grid The grid is drawed along the whole scale from the minimum up to the maximum parameter in the direction perpendicular to the scale
See Also:
LinearScale, LinearGridDrawer
Method Detail

updateDrawer

public void updateDrawer()
Updates the drawer object. Calls the scale's updateDrawer() method
Overrides:
updateDrawer in class GraphScaleBase