public class TimeSeriesBinding<T>
extends java.lang.Object
DataAdapter used to produce it.| Constructor and Description |
|---|
TimeSeriesBinding()
Creates a new instance of the
TimeSeriesBinding class. |
TimeSeriesBinding(java.lang.String label,
java.lang.String path,
javafx.scene.paint.Color color,
java.lang.String legend,
UnitPrefixes prefix,
ChartType graphType,
java.lang.String unitName,
java.lang.String treeHierarchy,
DataAdapter<T,?> adapter)
Creates a new instance of the
TimeSeriesBinding class with the provided properties |
TimeSeriesBinding(TimeSeriesBinding<T> binding)
Creates a clone of the provided binding, save for its
DataAdapter instance which should be reassigned based its adapter ID |
| Modifier and Type | Method and Description |
|---|---|
DataAdapter<T,?> |
getAdapter()
Returns the
DataAdapter of the binding |
java.util.UUID |
getAdapterId()
Gets the
DataAdapter's id |
javafx.scene.paint.Color |
getColor()
Returns the color of the bound series as defined in the source.
|
ChartType |
getGraphType()
Returns the type of graph of the bound series as defined in the source.
|
java.lang.String |
getLabel()
Returns the label of the binding
|
java.lang.String |
getLegend()
Returns the legend of the bound series as defined in the source.
|
java.lang.String |
getPath()
Returns the path of the binding
|
java.lang.String |
getTreeHierarchy()
Returns the full hierarchy in the tree for the binding
|
java.lang.String |
getUnitName()
Returns the unit name of the bound series as defined in the source.
|
UnitPrefixes |
getUnitPrefix()
Returns the unit numerical base of the bound series as defined in the source.
|
void |
setAdapter(DataAdapter adapter) |
java.lang.String |
toString() |
public TimeSeriesBinding()
TimeSeriesBinding class.public TimeSeriesBinding(TimeSeriesBinding<T> binding)
DataAdapter instance which should be reassigned based its adapter IDbinding - the TimeSeriesBinding instance to clone.public TimeSeriesBinding(java.lang.String label,
java.lang.String path,
javafx.scene.paint.Color color,
java.lang.String legend,
UnitPrefixes prefix,
ChartType graphType,
java.lang.String unitName,
java.lang.String treeHierarchy,
DataAdapter<T,?> adapter)
TimeSeriesBinding class with the provided propertieslabel - the label for the bindingpath - the path to retrieve value from the sourcecolor - the color of the graphlegend - the legend of the bindingprefix - the unit prefixgraphType - the preferred type of graph representationunitName - the unit for valuestreeHierarchy - the hierarchy in the tree representationadapter - the DataAdapter to the sourcepublic java.lang.String getLabel()
public java.lang.String getPath()
public DataAdapter<T,?> getAdapter()
DataAdapter of the bindingDataAdapter of the bindingpublic void setAdapter(DataAdapter adapter)
public javafx.scene.paint.Color getColor()
public java.lang.String getLegend()
public ChartType getGraphType()
public java.lang.String getUnitName()
public UnitPrefixes getUnitPrefix()
public java.util.UUID getAdapterId()
DataAdapter's idDataAdapter's idpublic java.lang.String getTreeHierarchy()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 Frederic Thevenet. All rights reserved.