Type | Property and Description |
---|---|
ObjectProperty<Object> |
extraValue
The generic data value to be plotted in any way the chart needs.
|
ObjectProperty<Node> |
node
The node to display for this data item.
|
ObjectProperty<X> |
XValue
The generic data value to be plotted on the X axis.
|
ObjectProperty<Y> |
YValue
The generic data value to be plotted on the Y axis.
|
Constructor and Description |
---|
Data()
Creates an empty XYChart.Data object.
|
Data(X xValue,
Y yValue)
Creates an instance of XYChart.Data object and initializes the X,Y
data values.
|
Data(X xValue,
Y yValue,
Object extraValue)
Creates an instance of XYChart.Data object and initializes the X,Y
data values and extraValue.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Object> |
extraValueProperty()
The generic data value to be plotted in any way the chart needs.
|
Object |
getExtraValue()
Gets the value of the property extraValue.
|
Node |
getNode()
Gets the value of the property node.
|
X |
getXValue()
Gets the generic data value to be plotted on the X axis.
|
Y |
getYValue()
Gets the generic data value to be plotted on the Y axis.
|
ObjectProperty<Node> |
nodeProperty()
The node to display for this data item.
|
void |
setExtraValue(Object value)
Sets the value of the property extraValue.
|
void |
setNode(Node value)
Sets the value of the property node.
|
void |
setXValue(X value)
Sets the generic data value to be plotted on the X axis.
|
void |
setYValue(Y value)
Sets the generic data value to be plotted on the Y axis.
|
String |
toString()
Returns a string representation of this
Data object. |
ObjectProperty<X> |
XValueProperty()
The generic data value to be plotted on the X axis.
|
ObjectProperty<Y> |
YValueProperty()
The generic data value to be plotted on the Y axis.
|
public final ObjectProperty<X> XValueProperty
getXValue()
,
setXValue(X)
public final ObjectProperty<Y> YValueProperty
getYValue()
,
setYValue(Y)
public final ObjectProperty<Object> extraValueProperty
getExtraValue()
,
setExtraValue(Object)
public final ObjectProperty<Node> nodeProperty
getNode()
,
setNode(Node)
public Data()
public Data(X xValue, Y yValue)
xValue
- The X axis data valueyValue
- The Y axis data valuepublic final X getXValue()
public final void setXValue(X value)
value
- the generic data value to be plotted on the X axis.public final ObjectProperty<X> XValueProperty()
getXValue()
,
setXValue(X)
public final Y getYValue()
public final void setYValue(Y value)
value
- the generic data value to be plotted on the Y axis.public final ObjectProperty<Y> YValueProperty()
getYValue()
,
setYValue(Y)
public final Object getExtraValue()
public final void setExtraValue(Object value)
public final ObjectProperty<Object> extraValueProperty()
getExtraValue()
,
setExtraValue(Object)
public final Node getNode()
public final void setNode(Node value)
public final ObjectProperty<Node> nodeProperty()
getNode()
,
setNode(Node)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.