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() |
List |
getCategories() |
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(List categories) |
void |
setCategoryLabelPositions(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, setVisible
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
draw, getChartAxisTitle, getChartService, getLabelAngle, getLabelFont, getLabelPaint, getSharedAxis, getTitleFont, isAssociatedAxis, isAxisShared, isAxisTitleEdited, isChartAxisTitleVisible, isVisible, setCategoryLabelPositions, setChartAxisTitle, setChartService, setIsAxisTitleEdited, setIsChartAxisTitleVisible, setIsSharedAxis, setLabelAngle, setLabelFont, setLabelPaint, setSharedAxis, setTitleFont, setVisible
public ChartCategoryAxis()
public ChartCategoryAxis(Axis axis)
public String getCategoryLabelPositions()
CategoryAxis
getCategoryLabelPositions
in interface CategoryAxis
public void setCategoryLabelPositions(String positions)
CategoryAxis
setCategoryLabelPositions
in interface CategoryAxis
public void setCategories(List categories)
setCategories
in interface CategoryAxis
public List getCategories()
getCategories
in interface CategoryAxis
public boolean isCategoryAxis()
isCategoryAxis
in interface ChartAxis
public ChartAxis clone()
clone
in interface ChartAxis
clone
in class AbstractAxis
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class AbstractAxis
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class AbstractAxis
PersistenceException
public void merge(ChartAxis ax)
merge
in class AbstractAxis