Interface ISetTimeDisplayedRangePropertyOwner
- All Superinterfaces:
ICurrentValuePropertyOwner,IGetDisplayedRangePropertyOwner,ISetNumericDisplayedRangePropertyOwner
- All Known Implementing Classes:
GanttChartTimeXAxis,LineChartTimeXAxis
Interface of displayed time-range property owners. Provides a set of methods
corresponding to it.
- Author:
- Aleksey Kirillov
-
Method Summary
Modifier and TypeMethodDescriptionsetDisplayedRangeMaxSize(double maxSize, ChronoUnit chronoUnit) Sets the maximum size of displayed values range of axis.setDisplayedRangeMinSize(double minSize, ChronoUnit chronoUnit) Sets the minimum size of displayed values range of axis.Methods inherited from interface com.amalgamasimulation.charts.axes.ICurrentValuePropertyOwner
getCurrentValue, getCurrentValueGuidelineColor, getCurrentValueGuidelineWidth, isCurrentValueGuidelineVisible, setCurrentValue, setCurrentValueGuidelineColor, setCurrentValueGuidelineColor, setCurrentValueGuidelineVisible, setCurrentValueGuidelineWidthMethods inherited from interface com.amalgamasimulation.charts.axes.IGetDisplayedRangePropertyOwner
addDisplayedRangeChangeHandler, clearDisplayedRangeChangeHandler, getDisplayedRange, removeDisplayedRangeChangeHandlerMethods inherited from interface com.amalgamasimulation.charts.axes.ISetNumericDisplayedRangePropertyOwner
adjustDisplayRange, getDisplayedRangeMaxSize, getDisplayedRangeMinSize, isDisplayedRangeChangeEnabled, setDisplayedRange, setDisplayedRangeChangeDisabled, setDisplayedRangeChangeEnabled, setDisplayedRangeMaxSize, setDisplayedRangeMinSize, setDisplayedRangeToDefault
-
Method Details
-
setDisplayedRangeMinSize
ISetNumericDisplayedRangePropertyOwner setDisplayedRangeMinSize(double minSize, ChronoUnit chronoUnit) Sets the minimum size of displayed values range of axis. 0 by default. This size limits the users' ability to scale the range of axis down.- Parameters:
minSize- new minimum size of displayed values range of axischronoUnit- size chrono units- Returns:
- reference to this object
-
setDisplayedRangeMaxSize
ISetNumericDisplayedRangePropertyOwner setDisplayedRangeMaxSize(double maxSize, ChronoUnit chronoUnit) Sets the maximum size of displayed values range of axis. Maximum is not limited by default. This size limits the users' ability to scale the range of axis up.- Parameters:
maxSize- new maximum size of displayed values range of axischronoUnit- size chrono units- Returns:
- reference to this object
-