Package de.gsi.chart.renderer.spi
Class AbstractDataSetManagement<R extends Renderer>
- java.lang.Object
-
- de.gsi.chart.renderer.spi.AbstractDataSetManagement<R>
-
- Type Parameters:
R- renderer generics
- All Implemented Interfaces:
Renderer
- Direct Known Subclasses:
AbstractErrorDataSetRendererParameter,ContourDataSetRenderer,LabelledMarkerRenderer,LineRenderer,ReducingLineRenderer
public abstract class AbstractDataSetManagement<R extends Renderer> extends java.lang.Object implements Renderer
- Author:
- rstein
-
-
Field Summary
Fields Modifier and Type Field Description protected javafx.beans.property.BooleanPropertyshowInLegend
-
Constructor Summary
Constructors Constructor Description AbstractDataSetManagement()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected static voidcopyMetaData(de.gsi.dataset.DataSet from, de.gsi.dataset.DataSet to)javafx.collections.ObservableList<Axis>getAxes()protected static de.gsi.dataset.spi.DoubleDataSetgetDataSetCopy(de.gsi.dataset.DataSet dataSet)javafx.collections.ObservableList<de.gsi.dataset.DataSet>getDatasets()javafx.collections.ObservableList<de.gsi.dataset.DataSet>getDatasetsCopy()protected javafx.collections.ObservableList<de.gsi.dataset.DataSet>getDatasetsCopy(javafx.collections.ObservableList<de.gsi.dataset.DataSet> localDataSets)protected static de.gsi.dataset.spi.DoubleErrorDataSetgetErrorDataSetCopy(de.gsi.dataset.DataSetError dataSet)AxisgetFirstAxis(javafx.geometry.Orientation orientation)protected abstract RgetThis()RsetShowInLegend(boolean state)Sets whether DataSets attached to this renderer shall be shown in the legendbooleanshowInLegend()Sets whether DataSets attached to this renderer shall be shown in the legendjavafx.beans.property.BooleanPropertyshowInLegendProperty()Sets whether DataSets attached to this renderer shall be shown in the legend-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.gsi.chart.renderer.Renderer
drawLegendSymbol, render
-
-
-
-
Method Detail
-
getAxes
public javafx.collections.ObservableList<Axis> getAxes()
-
getDatasets
public javafx.collections.ObservableList<de.gsi.dataset.DataSet> getDatasets()
- Specified by:
getDatasetsin interfaceRenderer
-
getDatasetsCopy
public javafx.collections.ObservableList<de.gsi.dataset.DataSet> getDatasetsCopy()
- Specified by:
getDatasetsCopyin interfaceRenderer
-
getDatasetsCopy
protected javafx.collections.ObservableList<de.gsi.dataset.DataSet> getDatasetsCopy(javafx.collections.ObservableList<de.gsi.dataset.DataSet> localDataSets)
-
getFirstAxis
public Axis getFirstAxis(javafx.geometry.Orientation orientation)
-
getThis
protected abstract R getThis()
- Returns:
- the instance of this AbstractDataSetManagement.
-
setShowInLegend
public R setShowInLegend(boolean state)
Sets whether DataSets attached to this renderer shall be shown in the legend- Specified by:
setShowInLegendin interfaceRenderer- Parameters:
state- true (default) if data sets are supposed to be drawn- Returns:
- the renderer class
-
showInLegend
public boolean showInLegend()
Sets whether DataSets attached to this renderer shall be shown in the legend- Specified by:
showInLegendin interfaceRenderer- Returns:
- true (default) if data sets are supposed to be drawn
-
showInLegendProperty
public final javafx.beans.property.BooleanProperty showInLegendProperty()
Sets whether DataSets attached to this renderer shall be shown in the legend- Specified by:
showInLegendPropertyin interfaceRenderer- Returns:
- true (default) if data sets are supposed to be drawn
-
copyMetaData
protected static void copyMetaData(de.gsi.dataset.DataSet from, de.gsi.dataset.DataSet to)
-
getDataSetCopy
protected static final de.gsi.dataset.spi.DoubleDataSet getDataSetCopy(de.gsi.dataset.DataSet dataSet)
-
getErrorDataSetCopy
protected static final de.gsi.dataset.spi.DoubleErrorDataSet getErrorDataSetCopy(de.gsi.dataset.DataSetError dataSet)
-
-