| Type | Property and Description |
|---|---|
javafx.beans.property.BooleanProperty |
dirty
A
BooleanProperty that observes the changes made to the Dirtyable instance |
javafx.beans.property.Property<javafx.scene.paint.Color> |
displayColor
The displayColor property
|
javafx.beans.property.StringProperty |
displayName
The displayName property
|
javafx.beans.property.Property<TimeSeriesProcessor<T>> |
processor
The processor property.
|
javafx.beans.property.BooleanProperty |
selected
The selected property
|
| Constructor and Description |
|---|
TimeSeriesInfo(TimeSeriesInfo<T> seriesInfo)
Copy constructor to deep clone a
TimeSeriesInfo instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
Clear the dirty status of the
Dirtyable instance |
javafx.beans.property.BooleanProperty |
dirtyProperty()
A
BooleanProperty that observes the changes made to the Dirtyable instance |
javafx.beans.property.Property<javafx.scene.paint.Color> |
displayColorProperty()
The displayColor property
|
javafx.beans.property.StringProperty |
displayNameProperty()
The displayName property
|
static <T> TimeSeriesInfo<T> |
fromBinding(TimeSeriesBinding<T> binding)
Returns a new instance of the
TimeSeriesInfo class built from the specified TimeSeriesBinding |
TimeSeriesBinding<T> |
getBinding()
Gets the
TimeSeriesBinding to get the data from |
javafx.scene.paint.Color |
getDisplayColor()
Returns the display color for the series
|
java.lang.String |
getDisplayName()
Gets the display name fo the series
|
TimeSeriesProcessor<T> |
getProcessor()
Gets the data processor for the series
|
java.lang.Boolean |
isDirty()
Gets the value of the property dirty.
|
boolean |
isSelected()
Returns true if the series is selected, false otherwise
|
javafx.beans.property.Property<TimeSeriesProcessor<T>> |
processorProperty()
The processor property.
|
javafx.beans.property.BooleanProperty |
selectedProperty()
The selected property
|
void |
setDisplayColor(javafx.scene.paint.Color displayColor)
Sets the display color for the series
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name fo the series
|
void |
setProcessor(TimeSeriesProcessor<T> processor)
Sets the data processor for the series
|
void |
setSelected(boolean selected)
Set to true if the series is selected, false otherwise
|
public javafx.beans.property.StringProperty displayNameProperty
getDisplayName(),
setDisplayName(String)public javafx.beans.property.BooleanProperty selectedProperty
isSelected(),
setSelected(boolean)public javafx.beans.property.Property<javafx.scene.paint.Color> displayColorProperty
getDisplayColor(),
setDisplayColor(Color)public javafx.beans.property.Property<TimeSeriesProcessor<T>> processorProperty
getProcessor(),
setProcessor(TimeSeriesProcessor)public javafx.beans.property.BooleanProperty dirtyProperty
dirtyProperty in interface DirtyableisDirty()public TimeSeriesInfo(TimeSeriesInfo<T> seriesInfo)
TimeSeriesInfo instance.
Remark:
All the properties of the new TimeSeriesInfo instance are new objects, assigned the same values, except for the binding property
which holds a copy of the reference.
In other words, the TimeSeriesBinding reference is shared amongst all clones produced by this constructor.
seriesInfo - the TimeSeriesInfo instance to clone.public static <T> TimeSeriesInfo<T> fromBinding(TimeSeriesBinding<T> binding)
TimeSeriesInfo class built from the specified TimeSeriesBindingT - the type of Y data for that seriesbinding - the TimeSeriesBinding to build the TimeSeriesInfo fromTimeSeriesInfo class built from the specified TimeSeriesBindingpublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - the display name fo the seriespublic javafx.beans.property.StringProperty displayNameProperty()
getDisplayName(),
setDisplayName(String)public boolean isSelected()
public void setSelected(boolean selected)
selected - true if the series is selected, false otherwisepublic javafx.beans.property.BooleanProperty selectedProperty()
isSelected(),
setSelected(boolean)public javafx.scene.paint.Color getDisplayColor()
public void setDisplayColor(javafx.scene.paint.Color displayColor)
displayColor - the display color for the seriespublic javafx.beans.property.Property<javafx.scene.paint.Color> displayColorProperty()
getDisplayColor(),
setDisplayColor(Color)public TimeSeriesBinding<T> getBinding()
TimeSeriesBinding to get the data fromTimeSeriesBinding to get the data frompublic TimeSeriesProcessor<T> getProcessor()
public void setProcessor(TimeSeriesProcessor<T> processor)
processor - the data processor for the seriespublic javafx.beans.property.Property<TimeSeriesProcessor<T>> processorProperty()
getProcessor(),
setProcessor(TimeSeriesProcessor)public java.lang.Boolean isDirty()
public javafx.beans.property.BooleanProperty dirtyProperty()
DirtyableBooleanProperty that observes the changes made to the Dirtyable instancedirtyProperty in interface DirtyableisDirty()Copyright © 2018 Frederic Thevenet. All rights reserved.