|
Spec-Zone .ru
спецификации, руководства, описания, API
|
public static final class PieChart.Data
extends java.lang.Object
| Type | Property and Description |
|---|---|
ReadOnlyObjectProperty<PieChart> |
chart
The chart which this data belongs to.
|
StringProperty |
name
The name of the pie slice
|
DoubleProperty |
pieValue
The value of the pie slice
|
| Constructor and Description |
|---|
PieChart.Data(java.lang.String name,
double value)
Constructs a PieChart.Data object with the given name and value.
|
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyObjectProperty<PieChart> |
chartProperty()
The chart which this data belongs to.
|
PieChart |
getChart()
The chart which this data belongs to.
|
java.lang.String |
getName()
The name of the pie slice
|
Node |
getNode()
Readonly access to the node that represents the pie slice.
|
double |
getPieValue()
The value of the pie slice
|
StringProperty |
nameProperty()
The name of the pie slice
|
DoubleProperty |
pieValueProperty()
The value of the pie slice
|
void |
setName(java.lang.String value)
The name of the pie slice
|
void |
setPieValue(double value)
The value of the pie slice
|
java.lang.String |
toString()
Returns a string representation of this
Data object. |
getChart()getName(),
setName(String)getPieValue(),
setPieValue(double)public PieChart.Data(java.lang.String name,
double value)
name - name for Pievalue - pie valuepublic final PieChart getChart()
public final ReadOnlyObjectProperty<PieChart> chartProperty()
getChart()public final void setName(java.lang.String value)
public final java.lang.String getName()
public final StringProperty nameProperty()
getName(),
setName(String)public final double getPieValue()
public final void setPieValue(double value)
public final DoubleProperty pieValueProperty()
getPieValue(),
setPieValue(double)public Node getNode()
public java.lang.String toString()
Data object.toString in class java.lang.ObjectData object.Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to .