lt.monarch.chart.chart3D.axis
Class Axis3DY

java.lang.Object
  extended by lt.monarch.chart.engine.AbstractChartObject<AxisPaintTags>
      extended by lt.monarch.chart.mapper.Axis
          extended by lt.monarch.chart.chart3D.axis.Axis3D
              extended by lt.monarch.chart.chart3D.axis.Axis3DY
All Implemented Interfaces:
java.io.Serializable, ChartObject, StyleEditorEntity

public class Axis3DY
extends Axis3D

Graphical representation of Y coordinate axis of a 3D chart.

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.chart3D.axis.Axis3D
labelType, titlePosition, titleType
 
Fields inherited from class lt.monarch.chart.mapper.Axis
isInvertedMapper, mapper, textStyle
 
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 Summary
Constructor and Description
Axis3DY(AxisMapper mapper)
          Constructs a new instance of Axis3DY.
 
Method Summary
Modifier and Type Method and Description
 void draw(AbstractGraphics g)
          Renders chart object on the Graphics context.
protected  void drawAxis(AbstractGraphics g, boolean drawLabels)
          Draw axis line and tick of the axis
protected  void drawTitle(AbstractGraphics g, int maxLabelWidth)
          Draws title of the axis
protected  int getPreferedMargin(AbstractGraphics g)
          Non-API method. Returns space required for labels and title.
 
Methods inherited from class lt.monarch.chart.chart3D.axis.Axis3D
findFlipPoint, findPerpendicular, getLabelType, getTitlePositoin, getTitleType, setLabelType, setTitlePosition, setTitleType
 
Methods inherited from class lt.monarch.chart.mapper.Axis
activate, deactivate, getFont, getMapper, getSortPosition, getStyle, getTextStyle, getTitle, getTitles, getTitleSettings, setTitle, setTitle
 
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
 

Constructor Detail

Axis3DY

public Axis3DY(AxisMapper mapper)
Constructs a new instance of Axis3DY.

Parameters:
mapper - a mapper for the axis
Method Detail

draw

public void draw(AbstractGraphics g)
Description copied from interface: ChartObject
Renders chart object on the Graphics context.

Parameters:
g - graphics context

drawAxis

protected void drawAxis(AbstractGraphics g,
                        boolean drawLabels)
Description copied from class: Axis3D
Draw axis line and tick of the axis

Specified by:
drawAxis in class Axis3D
Parameters:
g - graphics context
drawLabels - true if to draw labels

drawTitle

protected void drawTitle(AbstractGraphics g,
                         int maxLabelWidth)
Description copied from class: Axis3D
Draws title of the axis

Specified by:
drawTitle in class Axis3D
Parameters:
g - graphics context
maxLabelWidth - maximum label width

getPreferedMargin

protected int getPreferedMargin(AbstractGraphics g)
Description copied from class: Axis3D
Non-API method. Returns space required for labels and title.

Specified by:
getPreferedMargin in class Axis3D
Returns:
space required for labels and title