physicon.graphLib
Class GraphScaleBase
java.lang.Object
|
+--physicon.graphLib.GraphElementBase
|
+--physicon.graphLib.GraphScaleBase
- Direct Known Subclasses:
- LinearGrid, LinearScale
- public abstract class GraphScaleBase
- extends GraphElementBase
Represents abstract scale
Method Summary |
double |
getMaxParam()
Returns final parameter for the scale |
double |
getMinParam()
Returns initial parameter for the scale |
void |
setMaxParam(double _param)
Set final value for the scale. |
void |
setMinParam(double _param)
Set initial value for the scale. |
void |
updateDrawer()
Updates dtawer object for the scale |
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 |
GraphScaleBase
public GraphScaleBase(ScaleDrawerBase _drawer)
- Constructor
- Parameters:
_drawer
- - drawer object for the scale
GraphScaleBase
public GraphScaleBase(ScaleDrawerBase _drawer,
double _minParam,
double _maxParam)
- Constructor
- Parameters:
_drawer
- - drawer object for the scale_minParam
- - initial parameter for the scale_maxParam
- - final parameter for the scale
getMinParam
public final double getMinParam()
- Returns initial parameter for the scale
getMaxParam
public final double getMaxParam()
- Returns final parameter for the scale
setMinParam
public void setMinParam(double _param)
- Set initial value for the scale.
- Parameters:
_param
- - new initial parameter for
the scale
setMaxParam
public void setMaxParam(double _param)
- Set final value for the scale.
- Parameters:
_param
- - new final parameter for
the scale
updateDrawer
public void updateDrawer()
- Updates dtawer object for the scale
- Overrides:
- updateDrawer in class GraphElementBase