public class PieGraphDrawable extends Object
Constructor and Description |
---|
PieGraphDrawable() |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D graphics,
Rectangle2D drawArea) |
Color |
getBackground() |
Color |
getColor() |
Color |
getHighColor() |
Number |
getHighSlice() |
Color |
getLowColor() |
Number |
getLowSlice() |
Color |
getMediumColor() |
Number |
getMediumSlice() |
int |
getStartAngle() |
Number |
getValue() |
boolean |
isCounterClockWise() |
void |
setBackground(Color background) |
void |
setColor(Color color) |
void |
setCounterClockWise(boolean counterClockWise) |
void |
setHighColor(Color highColor) |
void |
setHighSlice(Number highSlice) |
void |
setLowColor(Color lowColor) |
void |
setLowSlice(Number lowSlice) |
void |
setMediumColor(Color mediumColor) |
void |
setMediumSlice(Number mediumSlice) |
void |
setStartAngle(int startAngle) |
void |
setValue(Number value) |
public void draw(Graphics2D graphics, Rectangle2D drawArea)
public Color getColor()
public void setColor(Color color)
public Color getMediumColor()
public void setMediumColor(Color mediumColor)
public Color getHighColor()
public void setHighColor(Color highColor)
public Color getLowColor()
public void setLowColor(Color lowColor)
public Number getMediumSlice()
public void setMediumSlice(Number mediumSlice)
public Number getHighSlice()
public void setHighSlice(Number highSlice)
public Number getLowSlice()
public void setLowSlice(Number lowSlice)
public Number getValue()
public void setValue(Number value)
public boolean isCounterClockWise()
public void setCounterClockWise(boolean counterClockWise)
public int getStartAngle()
public void setStartAngle(int startAngle)
public Color getBackground()
public void setBackground(Color background)