Spec-Zone .ru
спецификации, руководства, описания, API
|
Type | Property and Description |
---|---|
ReadOnlyObjectProperty<XYChart<X,Y>> |
chart
Reference to the chart this series belongs to
|
ObjectProperty<ObservableList<XYChart.Data<X,Y>>> |
data
ObservableList of data items that make up this series
|
StringProperty |
name
The user displayable name for this series
|
ObjectProperty<Node> |
node
The node to display for this series.
|
Constructor and Description |
---|
XYChart.Series()
Construct a empty series
|
XYChart.Series(ObservableList<XYChart.Data<X,Y>> data)
Constructs a Series and populates it with the given
ObservableList data. |
XYChart.Series(java.lang.String name,
ObservableList<XYChart.Data<X,Y>> data)
Constructs a named Series and populates it with the given
ObservableList data. |
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<XYChart<X,Y>> |
chartProperty()
Reference to the chart this series belongs to
|
ObjectProperty<ObservableList<XYChart.Data<X,Y>>> |
dataProperty()
ObservableList of data items that make up this series
|
XYChart<X,Y> |
getChart()
Gets the value of the property chart.
|
ObservableList<XYChart.Data<X,Y>> |
getData()
Gets the value of the property data.
|
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
|
ObjectProperty<Node> |
nodeProperty()
The node to display for this series.
|
void |
setData(ObservableList<XYChart.Data<X,Y>> 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 ReadOnlyObjectProperty<XYChart<X,Y>> chartProperty
getChart()
public final StringProperty nameProperty
getName()
,
setName(String)
public final ObjectProperty<Node> nodeProperty
getNode()
,
setNode(Node)
public final ObjectProperty<ObservableList<XYChart.Data<X,Y>>> dataProperty
getData()
,
setData(ObservableList)
public XYChart.Series()
public XYChart.Series(ObservableList<XYChart.Data<X,Y>> data)
ObservableList
data.data
- ObservableList of XYChart.Datapublic XYChart.Series(java.lang.String name, ObservableList<XYChart.Data<X,Y>> data)
ObservableList
data.name
- a name for the seriesdata
- ObservableList of XYChart.Datapublic final XYChart<X,Y> getChart()
public final ReadOnlyObjectProperty<XYChart<X,Y>> 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 ObjectProperty<Node> nodeProperty()
getNode()
,
setNode(Node)
public final ObservableList<XYChart.Data<X,Y>> getData()
public final void setData(ObservableList<XYChart.Data<X,Y>> value)
public final ObjectProperty<ObservableList<XYChart.Data<X,Y>>> dataProperty()
getData()
,
setData(ObservableList)
public java.lang.String toString()
Series
object.toString
in class java.lang.Object
Series
object.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to