|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jCharts.properties.Properties
org.jCharts.properties.AreaProperties
org.jCharts.properties.LegendAreaProperties
Field Summary | |
static int |
BOTTOM
|
private int |
chartPadding
|
private int |
columnPadding
|
static int |
COLUMNS_AS_MANY_AS_NEEDED
|
static int |
COLUMNS_FIT_TO_IMAGE
|
private int |
iconPadding
|
static int |
LEFT
|
private int |
numColumns
|
private int |
placement
|
static int |
RIGHT
|
private int |
rowPadding
|
static int |
TOP
|
Fields inherited from class org.jCharts.properties.AreaProperties |
|
Fields inherited from class org.jCharts.properties.Properties |
DEFAULT_BACKGROUND_PAINT |
Constructor Summary | |
LegendAreaProperties()
Constructor for those desiring auto-calculation of the Legend width based on the number of columns. |
Method Summary | |
int |
getChartPadding()
Returns the padding between chart plot and the Legend. |
int |
getColumnPadding()
Returns the padding between label columns. |
int |
getIconPadding()
Returns the padding between the icon and the Label |
int |
getNumColumns()
Gets the number of text columns the legend should display. |
int |
getPlacement()
Returns where the Legend should be drawn in relation to the Chart. |
int |
getRowPadding()
Returns the padding between labels in each row. |
void |
setChartPadding(int chartPadding)
Sets the padding between chart plot and the Legend. |
void |
setColumnPadding(int columnPadding)
Sets the padding between label columns, in pixels. |
void |
setIconPadding(int iconPadding)
Sets the padding between the icon and the Label, in pixels. |
void |
setNumColumns(int numColumns)
Sets the number of text columns the legend should display. |
void |
setPlacement(int placementConstant)
Sets where the Legend should be drawn in relation to the Chart. |
void |
setRowPadding(int rowPadding)
Sets the padding between labels in each row, in pixels. |
void |
toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object. |
Methods inherited from class org.jCharts.properties.AreaProperties |
getBorderStroke, getEdgePadding, setBorderStroke, setEdgePadding |
Methods inherited from class org.jCharts.properties.Properties |
getBackgroundPaint, setBackgroundPaint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int COLUMNS_AS_MANY_AS_NEEDED
public static final int COLUMNS_FIT_TO_IMAGE
public static final int BOTTOM
public static final int RIGHT
public static final int LEFT
public static final int TOP
private int numColumns
private int rowPadding
private int columnPadding
private int iconPadding
private int chartPadding
private int placement
Constructor Detail |
public LegendAreaProperties()
Method Detail |
public int getPlacement()
public void setPlacement(int placementConstant)
placementConstant
- public int getChartPadding()
public void setChartPadding(int chartPadding)
chartPadding
- public int getColumnPadding()
public int getRowPadding()
public void setNumColumns(int numColumns)
numColumns
- public int getNumColumns()
public int getIconPadding()
public void setRowPadding(int rowPadding)
rowPadding
- public void setColumnPadding(int columnPadding)
columnPadding
- public void setIconPadding(int iconPadding)
iconPadding
- public void toHTML(HTMLGenerator htmlGenerator)
toHTML
in interface HTMLTestable
toHTML
in class AreaProperties
htmlGenerator
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |