Class PieGraphDrawable
- java.lang.Object
-
- org.pentaho.reporting.libraries.libsparklines.PieGraphDrawable
-
public class PieGraphDrawable extends Object
-
-
Constructor Summary
Constructors Constructor Description PieGraphDrawable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
draw
public void draw(Graphics2D graphics, Rectangle2D drawArea)
-
getColor
public Color getColor()
-
setColor
public void setColor(Color color)
-
getMediumColor
public Color getMediumColor()
-
setMediumColor
public void setMediumColor(Color mediumColor)
-
getHighColor
public Color getHighColor()
-
setHighColor
public void setHighColor(Color highColor)
-
getLowColor
public Color getLowColor()
-
setLowColor
public void setLowColor(Color lowColor)
-
getMediumSlice
public Number getMediumSlice()
-
setMediumSlice
public void setMediumSlice(Number mediumSlice)
-
getHighSlice
public Number getHighSlice()
-
setHighSlice
public void setHighSlice(Number highSlice)
-
getLowSlice
public Number getLowSlice()
-
setLowSlice
public void setLowSlice(Number lowSlice)
-
getValue
public Number getValue()
-
setValue
public void setValue(Number value)
-
isCounterClockWise
public boolean isCounterClockWise()
-
setCounterClockWise
public void setCounterClockWise(boolean counterClockWise)
-
getStartAngle
public int getStartAngle()
-
setStartAngle
public void setStartAngle(int startAngle)
-
getBackground
public Color getBackground()
-
setBackground
public void setBackground(Color background)
-
-