org.jfree.chart.axis
Class HorizontalCategoryAxis3D

java.lang.Object
  |
  +--org.jfree.chart.axis.Axis
        |
        +--org.jfree.chart.axis.CategoryAxis
              |
              +--org.jfree.chart.axis.HorizontalCategoryAxis
                    |
                    +--org.jfree.chart.axis.HorizontalCategoryAxis3D
All Implemented Interfaces:
AxisConstants, HorizontalAxis, java.io.Serializable

public class HorizontalCategoryAxis3D
extends HorizontalCategoryAxis
implements java.io.Serializable

A horizontal axis that displays categories and has a 3D effect. Used for bar charts and line charts.

Author:
Klaus Rheinwald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jfree.chart.axis.HorizontalCategoryAxis
DEFAULT_VERTICAL_CATEGORY_LABELS
 
Fields inherited from class org.jfree.chart.axis.CategoryAxis
DEFAULT_AXIS_MARGIN, DEFAULT_CATEGORY_MARGIN
 
Fields inherited from interface org.jfree.chart.axis.AxisConstants
BOTTOM, DEFAULT_AXIS_LABEL_FONT, DEFAULT_AXIS_LABEL_INSETS, DEFAULT_AXIS_LABEL_PAINT, DEFAULT_AXIS_VISIBLE, DEFAULT_TICK_LABEL_FONT, DEFAULT_TICK_LABEL_INSETS, DEFAULT_TICK_LABEL_PAINT, DEFAULT_TICK_LABELS_VISIBLE, DEFAULT_TICK_MARK_INSIDE_LENGTH, DEFAULT_TICK_MARK_OUTSIDE_LENGTH, DEFAULT_TICK_MARK_PAINT, DEFAULT_TICK_MARK_STROKE, DEFAULT_TICK_MARKS_VISIBLE, LEFT, RIGHT, TOP
 
Constructor Summary
HorizontalCategoryAxis3D(java.lang.String label)
          Creates a new axis using default attribute values.
 
Method Summary
 void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, int location)
          Draws the axis on a Java 2D graphics device (such as the screen or a printer).
 
Methods inherited from class org.jfree.chart.axis.HorizontalCategoryAxis
configure, equals, getCategoryEnd, getCategoryMiddle, getCategoryStart, getMaxTickLabelWidth, getSkipCategoryLabelsToFit, getVerticalCategoryLabels, isCompatiblePlot, refreshTicks, reserveHeight, reserveHeight, setSkipCategoryLabelsToFit, setVerticalCategoryLabels, setVerticalTickLabels
 
Methods inherited from class org.jfree.chart.axis.CategoryAxis
getCategoryMargin, getLowerMargin, getUpperMargin, setCategoryMargin, setLowerMargin, setUpperMargin
 
Methods inherited from class org.jfree.chart.axis.Axis
addChangeListener, drawHorizontalLabel, drawVerticalLabel, getFixedDimension, getLabel, getLabelFont, getLabelInsets, getLabelPaint, getPlot, getTickLabelFont, getTickLabelInsets, getTickLabelPaint, getTickMarkInsideLength, getTickMarkOutsideLength, getTickMarkPaint, getTickMarkStroke, getTicks, isTickLabelsVisible, isTickMarksVisible, isVisible, notifyListeners, removeChangeListener, setFixedDimension, setLabel, setLabelFont, setLabelInsets, setLabelPaint, setPlot, setTickLabelFont, setTickLabelInsets, setTickLabelPaint, setTickLabelsVisible, setTickMarkInsideLength, setTickMarkOutsideLength, setTickMarkPaint, setTickMarkStroke, setTickMarksVisible, setVisible
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HorizontalCategoryAxis3D

public HorizontalCategoryAxis3D(java.lang.String label)
Creates a new axis using default attribute values.

Parameters:
label - the axis label (null permitted).
Method Detail

draw

public void draw(java.awt.Graphics2D g2,
                 java.awt.geom.Rectangle2D plotArea,
                 java.awt.geom.Rectangle2D dataArea,
                 int location)
Draws the axis on a Java 2D graphics device (such as the screen or a printer).

Overrides:
draw in class HorizontalCategoryAxis
Parameters:
g2 - the graphics device.
plotArea - the area within which the axis should be drawn.
dataArea - the area within which the plot is being drawn.
location - the location of the axis (TOP or BOTTOM).