Class AxisRangeModifier
java.lang.Object
com.illumon.iris.db.plot.chartmodifiers.OneClickChartModifier<T>
com.illumon.iris.db.plot.chartmodifiers.OneClickChartModifierSwing<Double>
com.illumon.iris.db.plot.chartmodifiers.AxisRangeModifier
- All Implemented Interfaces:
SwappableTable.LocalTableUpdateListener
,Serializable
- Direct Known Subclasses:
AxisRangeModifierMax
,AxisRangeModifierMin
public abstract class AxisRangeModifier extends OneClickChartModifierSwing<Double>
OneClickChartModifier
which changes the range of an plot's axis based on a OneClick event.- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.db.plot.chartmodifiers.OneClickChartModifierSwing
OneClickChartModifierSwing.AxisLevelVisibility
Nested classes/interfaces inherited from class com.illumon.iris.db.plot.chartmodifiers.OneClickChartModifier
OneClickChartModifier.VisibilityLevel, OneClickChartModifier.VisibilityRestricter
-
Constructor Summary
Constructors Constructor Description AxisRangeModifier(SwappableTable t, String valueColumn, boolean isDomain, PlotInfo plotInfo)
-
Method Summary
Modifier and Type Method Description protected Double
convertTableValue(Object o)
The value in the table is read as an object and must be converted to the parameterized type Tprotected AxisImpl
getAxis()
protected CustomNumberAxis
getNumberAxis()
protected org.jfree.chart.plot.Plot
getPlot()
protected boolean
isDomain()
protected void
modifyChart(Double columnValue)
Modifies the chart with thecolumnValue
protected abstract void
modifyChartAux(Double columnValue)
void
setVisibilityRestricter(OneClickChartModifier.VisibilityRestricter visibilityRestricter)
Methods inherited from class com.illumon.iris.db.plot.chartmodifiers.OneClickChartModifier
getPlotInfo, getValueColumn, getVisibilityLevel, onClose, onLocalTableUpdate, onNullLocalTable, redraw, setGovernor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.plot.util.tables.SwappableTable.LocalTableUpdateListener
onInitialSnapshot
-
Constructor Details
-
AxisRangeModifier
public AxisRangeModifier(SwappableTable t, String valueColumn, boolean isDomain, PlotInfo plotInfo)
-
-
Method Details
-
setVisibilityRestricter
public void setVisibilityRestricter(OneClickChartModifier.VisibilityRestricter visibilityRestricter)Description copied from class:OneClickChartModifier
- Overrides:
setVisibilityRestricter
in classOneClickChartModifier<Double>
- Parameters:
visibilityRestricter
- limits which series are displayed prior to chart drawing
-
convertTableValue
Description copied from class:OneClickChartModifier
The value in the table is read as an object and must be converted to the parameterized type T- Specified by:
convertTableValue
in classOneClickChartModifier<Double>
- Parameters:
o
- table value- Returns:
o
converted to type T
-
modifyChart
Description copied from class:OneClickChartModifier
Modifies the chart with thecolumnValue
- Specified by:
modifyChart
in classOneClickChartModifier<Double>
- Parameters:
columnValue
- the value in row 0 of the table from the OneClick event
-
modifyChartAux
-
getPlot
protected org.jfree.chart.plot.Plot getPlot() -
getAxis
-
isDomain
protected boolean isDomain() -
getNumberAxis
-