|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jCharts.properties.ChartTypeProperties | +--org.jCharts.properties.PieChart2DProperties
Field Summary | |
private java.awt.Paint |
borderPaint
|
private java.awt.Stroke |
borderStroke
|
static java.awt.Paint |
DEFAULT_BORDER_PAINT
|
static java.awt.Stroke |
DEFAULT_BORDER_STROKE
|
private boolean |
isCurrency
|
private PieLabelType |
pieLabelType
|
private int |
roundingPowerOfTen
|
private boolean |
showGrouping
|
private float |
tickLength
|
private ChartFont |
valueLabelFont
|
private float |
zeroDegreeOffset
|
Constructor Summary | |
PieChart2DProperties()
|
Method Summary | |
java.awt.Paint |
getBorderPaint()
|
java.awt.Stroke |
getBorderStroke()
|
PieLabelType |
getPieLabelType()
|
float |
getTickLength()
|
ChartFont |
getValueLabelFont()
|
int |
getValueLabelRoundingPowerOfTen()
|
float |
getZeroDegreeOffset()
|
void |
setBorderPaint(java.awt.Paint paint)
|
void |
setBorderStroke(java.awt.Stroke stroke)
|
void |
setCurrency(boolean currency)
|
void |
setPieLabelType(PieLabelType pieLabelType)
Sets the type of label to draw on the PieChart. |
void |
setRoundingPowerOfTen(int roundingPowerOfTen)
|
void |
setShowGrouping(boolean showGrouping)
|
void |
setTickLength(float tickLength)
|
void |
setValueLabelFont(ChartFont valueLabelFont)
Sets the ChartFont used to draw the chart value labels. |
void |
setZeroDegreeOffset(float zeroDegreeOffset)
The offset from zero degrees which the first slice of pie is drawn. |
boolean |
showValueLabelCurrency()
|
boolean |
showValueLabelGrouping()
|
void |
toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object. |
void |
validate(Chart chart)
Validates the properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.awt.Paint DEFAULT_BORDER_PAINT
public static final java.awt.Stroke DEFAULT_BORDER_STROKE
private java.awt.Paint borderPaint
private java.awt.Stroke borderStroke
private float zeroDegreeOffset
private PieLabelType pieLabelType
private boolean isCurrency
private boolean showGrouping
private int roundingPowerOfTen
private ChartFont valueLabelFont
private float tickLength
Constructor Detail |
public PieChart2DProperties()
Method Detail |
public void setZeroDegreeOffset(float zeroDegreeOffset)
zeroDegreeOffset
- public float getZeroDegreeOffset()
public java.awt.Stroke getBorderStroke()
public void setBorderStroke(java.awt.Stroke stroke)
stroke
- public java.awt.Paint getBorderPaint()
public void setBorderPaint(java.awt.Paint paint)
paint
- public PieLabelType getPieLabelType()
public void setPieLabelType(PieLabelType pieLabelType)
pieLabelType
- public ChartFont getValueLabelFont()
public void setValueLabelFont(ChartFont valueLabelFont)
valueLabelFont
- public void setCurrency(boolean currency)
public void setShowGrouping(boolean showGrouping)
public void setRoundingPowerOfTen(int roundingPowerOfTen)
public void setTickLength(float tickLength)
public float getTickLength()
public boolean showValueLabelCurrency()
public boolean showValueLabelGrouping()
public int getValueLabelRoundingPowerOfTen()
public void toHTML(HTMLGenerator htmlGenerator)
toHTML
in interface HTMLTestable
htmlGenerator
- public void validate(Chart chart) throws PropertyException
chart
-
PropertyException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |