public class SliceValue
extends java.lang.Object
| Constructor and Description |
|---|
SliceValue() |
SliceValue(float value) |
SliceValue(float value,
int color) |
SliceValue(float value,
int color,
int sliceSpacing) |
SliceValue(SliceValue sliceValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
void |
finish() |
int |
getColor() |
int |
getDarkenColor() |
char[] |
getLabel()
Deprecated.
|
char[] |
getLabelAsChars() |
int |
getSliceSpacing()
Deprecated.
|
float |
getValue() |
int |
hashCode() |
SliceValue |
setColor(int color) |
SliceValue |
setLabel(char[] label)
Deprecated.
|
SliceValue |
setLabel(java.lang.String label) |
SliceValue |
setSliceSpacing(int sliceSpacing)
Deprecated.
|
SliceValue |
setTarget(float target)
Set target value that should be reached when data animation finish then call
Chart.startDataAnimation() |
SliceValue |
setValue(float value) |
java.lang.String |
toString() |
void |
update(float scale) |
public SliceValue()
public SliceValue(float value)
public SliceValue(float value,
int color)
public SliceValue(float value,
int color,
int sliceSpacing)
public SliceValue(SliceValue sliceValue)
public void update(float scale)
public void finish()
public float getValue()
public SliceValue setValue(float value)
public SliceValue setTarget(float target)
Chart.startDataAnimation()target - public int getColor()
public SliceValue setColor(int color)
public int getDarkenColor()
@Deprecated public int getSliceSpacing()
@Deprecated public SliceValue setSliceSpacing(int sliceSpacing)
@Deprecated public char[] getLabel()
@Deprecated public SliceValue setLabel(char[] label)
public SliceValue setLabel(java.lang.String label)
public char[] getLabelAsChars()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object