org.jplot2d.element
Interface AxisRangeLockGroup
-
- All Superinterfaces:
- Element
- All Known Subinterfaces:
- AxisRangeLockGroupEx
- All Known Implementing Classes:
- AxisRangeLockGroupImpl
public interface AxisRangeLockGroup extends Element
A group of axes who are pinned together. When one axis changes its range, all axes follow the change together.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description AxisTransform[]getRangeManagers()Returns all axes belongs to this group.booleanisAutoRange()Return the autorange status of this axis group.booleanisZoomable()Returnstrueif this AxisRangeLockGroup can be zoomed byPlot.zoomXRange(double, double)orPlot.zoomYRange(double, double).voidsetAutoRange(boolean autoRange)If true set the range of the axis group to allow to display the minimum and maximum value of the Layer.voidsetZoomable(boolean zoomable)Sets if this AxisRangeLockGroup can be zoomed byPlot.zoomXRange(double, double)orPlot.zoomYRange(double, double).voidzoomRange(double start, double end)Zoom the given range to entire axis-
Methods inherited from interface org.jplot2d.element.Element
getEnvironment, getId, getParent
-
-
-
-
Method Detail
-
isAutoRange
boolean isAutoRange()
Return the autorange status of this axis group.- Returns:
- true if the axis is in autorange status
-
setAutoRange
void setAutoRange(boolean autoRange)
If true set the range of the axis group to allow to display the minimum and maximum value of the Layer.- Parameters:
isAutoRange- the flag.
-
isZoomable
boolean isZoomable()
Returnstrueif this AxisRangeLockGroup can be zoomed byPlot.zoomXRange(double, double)orPlot.zoomYRange(double, double). By default an AxisRangeLockGroup is zoomable.- Returns:
- if this AxisRangeLockGroup can be zoomed
-
setZoomable
void setZoomable(boolean zoomable)
Sets if this AxisRangeLockGroup can be zoomed byPlot.zoomXRange(double, double)orPlot.zoomYRange(double, double).- Parameters:
zoomable- the flag
-
zoomRange
void zoomRange(double start, double end)Zoom the given range to entire axis- Parameters:
start- the normalized startend- the normalized end
-
getRangeManagers
AxisTransform[] getRangeManagers()
Returns all axes belongs to this group.- Returns:
- all axes belongs to this group
-
-
DMelt 3.0 © DataMelt by jWork.ORG