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() |
Object |
getExtraValue() |
Node |
getNode() |
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() |
void |
setExtraValue(Object value) |
void |
setNode(Node value) |
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 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()
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()
public final Object getExtraValue()
public final void setExtraValue(Object value)
public final ObjectProperty<Object> extraValueProperty()
public final Node getNode()
public final void setNode(Node value)
public final ObjectProperty<Node> nodeProperty()
Copyright © 2020. All rights reserved.