Type | Property and Description |
---|---|
<any> |
chart
Reference to the chart this series belongs to
|
<any> |
data
ObservableList of data items that make up this series
|
StringProperty |
name
The user displayable name for this series
|
<any> |
node
The node to display for this series.
|
Modifier and Type | Field and Description |
---|---|
private <any> |
chart
Reference to the chart this series belongs to
|
private <any> |
data
ObservableList of data items that make up this series
|
private <any> |
dataChangeListener |
(package private) java.lang.String |
defaultColorStyleClass
the style class for default color for this series
|
private java.util.List<XYChart.Data<X,Y>> |
displayedData |
private StringProperty |
name
The user displayable name for this series
|
private <any> |
node
The node to display for this series.
|
(package private) boolean |
setToRemove |
Constructor and Description |
---|
Series()
Construct a empty series
|
Series(<any> data)
Constructs a Series and populates it with the given
ObservableList data. |
Series(java.lang.String name,
<any> data)
Constructs a named Series and populates it with the given
ObservableList data. |
Modifier and Type | Method and Description |
---|---|
<any> |
chartProperty()
Reference to the chart this series belongs to
|
<any> |
dataProperty()
ObservableList of data items that make up this series
|
XYChart<X,Y> |
getChart()
Gets the value of the property chart.
|
<any> |
getData()
Gets the value of the property data.
|
(package private) int |
getDataSize() |
(package private) XYChart.Data<X,Y> |
getItem(int i) |
(package private) int |
getItemIndex(XYChart.Data<X,Y> item) |
java.lang.String |
getName()
Gets the value of the property name.
|
Node |
getNode()
Gets the value of the property node.
|
StringProperty |
nameProperty()
The user displayable name for this series
|
<any> |
nodeProperty()
The node to display for this series.
|
private void |
removeDataItemRef(XYChart.Data<X,Y> item) |
private void |
setChart(XYChart<X,Y> value) |
void |
setData(<any> value)
Sets the value of the property data.
|
void |
setName(java.lang.String value)
Sets the value of the property name.
|
void |
setNode(Node value)
Sets the value of the property node.
|
java.lang.String |
toString()
Returns a string representation of this
Series object. |
public final <any> chartProperty
getChart()
public final StringProperty nameProperty
getName()
,
setName(String)
public final <any> nodeProperty
getNode()
,
setNode(Node)
public final <any> dataProperty
getData()
,
#setData()
java.lang.String defaultColorStyleClass
boolean setToRemove
private java.util.List<XYChart.Data<X,Y>> displayedData
private final <any> dataChangeListener
private final <any> chart
private final StringProperty name
private <any> node
private final <any> data
public Series()
public Series(<any> data)
ObservableList
data.data
- ObservableList of XYChart.Datapublic Series(java.lang.String name, <any> data)
ObservableList
data.name
- a name for the seriesdata
- ObservableList of XYChart.Datapublic final <any> chartProperty()
getChart()
public final java.lang.String getName()
public final void setName(java.lang.String value)
public final StringProperty nameProperty()
getName()
,
setName(String)
public final Node getNode()
public final void setNode(Node value)
public final <any> nodeProperty()
getNode()
,
setNode(Node)
public final <any> getData()
public final void setData(<any> value)
public final <any> dataProperty()
getData()
,
#setData()
public java.lang.String toString()
Series
object.toString
in class java.lang.Object
Series
object.private void removeDataItemRef(XYChart.Data<X,Y> item)
int getItemIndex(XYChart.Data<X,Y> item)
XYChart.Data<X,Y> getItem(int i)
int getDataSize()