Constructor and Description |
---|
Data(String name,
double value)
Constructs a PieChart.Data object with the given name and value.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<PieChart> |
chartProperty() |
PieChart |
getChart() |
String |
getName() |
Node |
getNode()
Returns the node that represents the pie slice.
|
double |
getPieValue() |
StringProperty |
nameProperty() |
ReadOnlyObjectProperty<Node> |
nodeProperty() |
DoubleProperty |
pieValueProperty() |
void |
setName(String value) |
void |
setPieValue(double value) |
String |
toString()
Returns a string representation of this
Data object. |
public Data(String name, double value)
name
- name for Pievalue
- pie valuepublic final PieChart getChart()
public final ReadOnlyObjectProperty<PieChart> chartProperty()
public final void setName(String value)
public final String getName()
public final StringProperty nameProperty()
public final double getPieValue()
public final void setPieValue(double value)
public final DoubleProperty pieValueProperty()
public Node getNode()
public ReadOnlyObjectProperty<Node> nodeProperty()
Copyright © 2020. All rights reserved.