public class PieSector extends Object implements Serializable
| Constructor and Description |
|---|
PieSector(String l,
double v)
Constructor.
|
PieSector(String l,
double v,
String color)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getColor()
Getter accessor for attribute 'color'.
|
String |
getLabel()
Getter accessor for attribute 'label'.
|
double |
getValue()
Getter accessor for attribute 'value'.
|
void |
setColor(String color)
Setter accessor for attribute 'color'.
|
void |
setLabel(String label)
Setter accessor for attribute 'label'.
|
void |
setValue(double value)
Setter accessor for attribute 'value'.
|
String |
toString() |
public PieSector(String l, double v)
l - labelv - valuepublic String getLabel()
public void setLabel(String label)
label - new value for 'label 'public double getValue()
public void setValue(double value)
value - new value for 'value 'public String getColor()
public void setColor(String color)
color - new value for 'color 'Copyright © 2013–2015 FF4J. All rights reserved.