Modifier and Type | Field and Description |
---|---|
private ObjectProperty<java.lang.Object> |
currentExtraValue
The current displayed data extra value.
|
private ObjectProperty<X> |
currentX
The current displayed data value plotted on the X axis.
|
private ObjectProperty<Y> |
currentY
The current displayed data value plotted on the Y axis.
|
private ObjectProperty<java.lang.Object> |
extraValue
The generic data value to be plotted in any way the chart needs.
|
private ObjectProperty<Node> |
node
The node to display for this data item.
|
private XYChart.Series<X,Y> |
series
The series this data belongs to
|
private boolean |
setToRemove |
private ObjectProperty<X> |
xValue
The generic data value to be plotted on the X axis
|
private 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,
java.lang.Object extraValue)
Creates an instance of XYChart.Data object and initializes the X,Y
data values and extraValue.
|
Modifier and Type | Method and Description |
---|---|
(package private) ObjectProperty<java.lang.Object> |
currentExtraValueProperty() |
(package private) ObjectProperty<X> |
currentXProperty() |
(package private) ObjectProperty<Y> |
currentYProperty() |
ObjectProperty<java.lang.Object> |
extraValueProperty() |
(package private) java.lang.Object |
getCurrentExtraValue() |
(package private) X |
getCurrentX() |
(package private) Y |
getCurrentY() |
java.lang.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() |
(package private) void |
setCurrentExtraValue(java.lang.Object value) |
(package private) void |
setCurrentX(X value) |
(package private) void |
setCurrentY(Y value) |
void |
setExtraValue(java.lang.Object value) |
void |
setNode(Node value) |
(package private) void |
setSeries(XYChart.Series<X,Y> series) |
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.
|
java.lang.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.
|
private boolean setToRemove
private XYChart.Series<X,Y> series
private ObjectProperty<X> xValue
private ObjectProperty<Y> yValue
private ObjectProperty<java.lang.Object> extraValue
private ObjectProperty<Node> node
private ObjectProperty<X> currentX
private ObjectProperty<Y> currentY
private ObjectProperty<java.lang.Object> currentExtraValue
public Data()
public Data(X xValue, Y yValue)
xValue
- The X axis data valueyValue
- The Y axis data valuevoid setSeries(XYChart.Series<X,Y> series)
public 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 java.lang.Object getExtraValue()
public final void setExtraValue(java.lang.Object value)
public final ObjectProperty<java.lang.Object> extraValueProperty()
public final Node getNode()
public final void setNode(Node value)
public final ObjectProperty<Node> nodeProperty()
final X getCurrentX()
final void setCurrentX(X value)
final ObjectProperty<X> currentXProperty()
final Y getCurrentY()
final void setCurrentY(Y value)
final ObjectProperty<Y> currentYProperty()
final java.lang.Object getCurrentExtraValue()
final void setCurrentExtraValue(java.lang.Object value)
final ObjectProperty<java.lang.Object> currentExtraValueProperty()
public java.lang.String toString()
Data
object.toString
in class java.lang.Object
Data
object.