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()
Gets the value of the property chart.
|
java.lang.String |
getName()
Gets the value of the property name.
|
Node |
getNode()
Gets the value of the property node.
|
double |
getPieValue()
Gets the value of the property pieValue.
|
StringProperty |
nameProperty()
The name of the pie slice
|
DoubleProperty |
pieValueProperty()
The value of the pie slice
|
void |
setName(java.lang.String value)
Sets the value of the property name.
|
void |
setPieValue(double value)
Sets the value of the property pieValue.
|
java.lang.String |
toString()
Returns a string representation of this
Data object. |
public final ReadOnlyObjectProperty<PieChart> chartProperty
getChart()
public final StringProperty nameProperty
getName()
,
setName(String)
public final DoubleProperty pieValueProperty
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.Object
Data
object.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to