public class ChartCategoryAxis extends AbstractAxis implements CategoryAxis
| Modifier and Type | Class and Description |
|---|---|
static class |
ChartCategoryAxis.RegisterPersistence |
associatedAxis, axis, isTitleVisible, title, visible| Constructor and Description |
|---|
ChartCategoryAxis() |
ChartCategoryAxis(Axis axis) |
| Modifier and Type | Method and Description |
|---|---|
ChartAxis |
clone() |
java.util.List |
getCategories() |
java.lang.String |
getCategoryLabelPositions()
Returns the category label position specification (this contains label positioning info for all four possible axis locations).
|
boolean |
isCategoryAxis() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
merge(ChartAxis ax) |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setCategories(java.util.List categories) |
void |
setCategoryLabelPositions(java.lang.String positions)
Sets the category label position specification for the axis and sends an AxisChangeEvent to all registered listeners.
|
draw, getAxis, getChartAxisTitle, getChartService, getLabelAngle, getLabelFont, getLabelPaint, getSharedAxis, getTitleFont, isAssociatedAxis, isAxisShared, isAxisTitleEdited, isChartAxisTitleVisible, isVisible, setAssociatedAxis, setAxis, setCategoryLabelPositions, setChartAxisTitle, setChartService, setIsAxisTitleEdited, setIsChartAxisTitleVisible, setIsSharedAxis, setLabelAngle, setLabelFont, setLabelPaint, setSharedAxis, setTitleFont, setVisibleequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdraw, getChartAxisTitle, getChartService, getLabelAngle, getLabelFont, getLabelPaint, getSharedAxis, getTitleFont, isAssociatedAxis, isAxisShared, isAxisTitleEdited, isChartAxisTitleVisible, isVisible, setCategoryLabelPositions, setChartAxisTitle, setChartService, setIsAxisTitleEdited, setIsChartAxisTitleVisible, setIsSharedAxis, setLabelAngle, setLabelFont, setLabelPaint, setSharedAxis, setTitleFont, setVisiblepublic ChartCategoryAxis()
public ChartCategoryAxis(Axis axis)
public java.lang.String getCategoryLabelPositions()
CategoryAxisgetCategoryLabelPositions in interface CategoryAxispublic void setCategoryLabelPositions(java.lang.String positions)
CategoryAxissetCategoryLabelPositions in interface CategoryAxispublic void setCategories(java.util.List categories)
setCategories in interface CategoryAxispublic java.util.List getCategories()
getCategories in interface CategoryAxispublic boolean isCategoryAxis()
isCategoryAxis in interface ChartAxispublic ChartAxis clone()
clone in interface ChartAxisclone in class AbstractAxispublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentloadFromState in class AbstractAxisPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class AbstractAxisPersistenceExceptionpublic void merge(ChartAxis ax)
merge in class AbstractAxis