|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.AbstractChartObject<AxisPaintTags>
lt.monarch.chart.mapper.Axis
public abstract class Axis extends AbstractChartObject<AxisPaintTags>
Base implementation of Axis. Axis is graphical representation of a coordinate axis of a chart.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isInvertedMapper
|
protected AxisMapper |
mapper
An associated axis mapper, which defines the axis value type. |
protected TextStyle<AxisTextPaintTags> |
textStyle
Text style |
| Fields inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
AXIS_SORT_POSITION, BREAK_LINE_POSITION, DEFAULT_SORT_POSITION, GRID_SORT_POSITION, MARKER_SERIES_SORT_POSITION, MARKERS_SORT_POSITION, paintStyle, SERIES_SORT_POSITION, sortPosition, style |
| Constructor and Description |
|---|
Axis(AxisMapper mapper)
Sole constructor. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate()
Activates axis. |
protected void |
deactivate()
Deactivates axis. |
java.awt.Font |
getFont(AxisTextPaintTags tag)
|
AxisMapper |
getMapper()
Returns the axis mapper for this axis. |
int |
getSortPosition()
Returns chart object paint order index. |
AbstractStyle |
getStyle(StyleType styleType)
Gets style object for the stylesheet attributes specified by style type. |
TextStyle<AxisTextPaintTags> |
getTextStyle()
Gets text style object |
java.lang.String |
getTitle()
Returns the title for axis. |
java.util.List<AxisTitle> |
getTitles()
|
TitleSettings |
getTitleSettings()
|
void |
setTitle(int titleNr,
AxisTitle title)
|
void |
setTitle(java.lang.String text)
Sets title of the axis. |
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
chart, copy, dispose, finalize, getChart, getChartObjectBounds, getPaintStyle, getParent, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lt.monarch.chart.engine.ChartObject |
|---|
draw |
| Field Detail |
|---|
protected boolean isInvertedMapper
protected final AxisMapper mapper
protected TextStyle<AxisTextPaintTags> textStyle
| Constructor Detail |
|---|
public Axis(AxisMapper mapper)
mapper - the axis mapper| Method Detail |
|---|
public int getSortPosition()
ChartObject
getSortPosition in interface ChartObjectgetSortPosition in class AbstractChartObject<AxisPaintTags>protected void activate()
activate in class AbstractChartObject<AxisPaintTags>protected void deactivate()
deactivate in class AbstractChartObject<AxisPaintTags>public AxisMapper getMapper()
public void setTitle(int titleNr,
AxisTitle title)
public java.util.List<AxisTitle> getTitles()
public void setTitle(java.lang.String text)
text - axis titlepublic java.lang.String getTitle()
public TitleSettings getTitleSettings()
public TextStyle<AxisTextPaintTags> getTextStyle()
public java.awt.Font getFont(AxisTextPaintTags tag)
public AbstractStyle getStyle(StyleType styleType)
ChartObject
getStyle in interface ChartObjectgetStyle in interface StyleEditorEntitygetStyle in class AbstractChartObject<AxisPaintTags>styleType - style type attributes
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||