org.norther.tammi.sprig.jfree.axis
Class JFNumberAxis3D

java.lang.Object
  extended by org.jfree.chart.axis.Axis
      extended by org.jfree.chart.axis.ValueAxis
          extended by org.jfree.chart.axis.NumberAxis
              extended by org.jfree.chart.axis.NumberAxis3D
                  extended by org.norther.tammi.sprig.jfree.axis.JFNumberAxis3D
All Implemented Interfaces:
Serializable, Cloneable, org.jfree.util.PublicCloneable, ChartAxis

public class JFNumberAxis3D
extends NumberAxis3D
implements ChartAxis

A 3D number axis.

Version:
$Id: JFNumberAxis3D.java,v 1.7 2009/09/28 15:08:52 cvsimp Exp $
Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jfree.chart.axis.NumberAxis
DEFAULT_AUTO_RANGE_INCLUDES_ZERO, DEFAULT_AUTO_RANGE_STICKY_ZERO, DEFAULT_TICK_UNIT, DEFAULT_VERTICAL_TICK_LABELS
 
Fields inherited from class org.jfree.chart.axis.ValueAxis
DEFAULT_AUTO_RANGE, DEFAULT_AUTO_RANGE_MINIMUM_SIZE, DEFAULT_AUTO_TICK_UNIT_SELECTION, DEFAULT_INVERTED, DEFAULT_LOWER_BOUND, DEFAULT_LOWER_MARGIN, DEFAULT_RANGE, DEFAULT_UPPER_BOUND, DEFAULT_UPPER_MARGIN, MAXIMUM_TICK_COUNT
 
Fields inherited from class org.jfree.chart.axis.Axis
DEFAULT_AXIS_LABEL_FONT, DEFAULT_AXIS_LABEL_INSETS, DEFAULT_AXIS_LABEL_PAINT, DEFAULT_AXIS_LINE_PAINT, DEFAULT_AXIS_LINE_STROKE, 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
 
Constructor Summary
JFNumberAxis3D()
          Constructs a new axis.
JFNumberAxis3D(String label)
          Constructs a new labeled axis.
 
Method Summary
 Format getFormat()
          Gets the coordinate format.
 int getLabelFontSize()
          Gets the label font size.
 int getScaleFontSize()
          Gets the scale font size.
 String getUnitOfMeasure()
          Gets the unit of measure.
 void setFormat(Format format)
          Sets the coordinate format.
 void setLabelFontSize(int fs)
          Sets the label font size.
 void setScaleFontSize(int fs)
          Sets the scale font size.
 void setUnitOfMeasure(String unit)
          Sets the unit of measure.
 
Methods inherited from class org.jfree.chart.axis.NumberAxis3D
draw
 
Methods inherited from class org.jfree.chart.axis.NumberAxis
autoAdjustRange, calculateHighestVisibleTickValue, calculateLowestVisibleTickValue, calculateVisibleTickCount, clone, configure, createIntegerTickUnits, createIntegerTickUnits, createStandardTickUnits, createStandardTickUnits, equals, estimateMaximumTickLabelHeight, estimateMaximumTickLabelWidth, getAutoRangeIncludesZero, getAutoRangeStickyZero, getMarkerBand, getNumberFormatOverride, getRangeType, getTickUnit, hashCode, java2DToValue, refreshTicks, refreshTicksHorizontal, refreshTicksVertical, selectAutoTickUnit, selectHorizontalAutoTickUnit, selectVerticalAutoTickUnit, setAutoRangeIncludesZero, setAutoRangeStickyZero, setMarkerBand, setNumberFormatOverride, setRangeType, setTickUnit, setTickUnit, valueToJava2D
 
Methods inherited from class org.jfree.chart.axis.ValueAxis
calculateAnchorPoint, centerRange, drawAxisLine, drawTickMarksAndLabels, findMaximumTickLabelHeight, findMaximumTickLabelWidth, getAutoRangeMinimumSize, getAutoTickIndex, getDefaultAutoRange, getDownArrow, getFixedAutoRange, getLeftArrow, getLowerBound, getLowerMargin, getRange, getRightArrow, getStandardTickUnits, getUpArrow, getUpperBound, getUpperMargin, isAutoRange, isAutoTickUnitSelection, isInverted, isNegativeArrowVisible, isPositiveArrowVisible, isVerticalTickLabels, lengthToJava2D, reserveSpace, resizeRange, resizeRange, setAutoRange, setAutoRange, setAutoRangeMinimumSize, setAutoRangeMinimumSize, setAutoTickIndex, setAutoTickUnitSelection, setAutoTickUnitSelection, setDefaultAutoRange, setDownArrow, setFixedAutoRange, setInverted, setLeftArrow, setLowerBound, setLowerMargin, setNegativeArrowVisible, setPositiveArrowVisible, setRange, setRange, setRange, setRangeAboutValue, setRangeWithMargins, setRangeWithMargins, setRangeWithMargins, setRightArrow, setStandardTickUnits, setUpArrow, setUpperBound, setUpperMargin, setVerticalTickLabels, zoomRange
 
Methods inherited from class org.jfree.chart.axis.Axis
addChangeListener, drawLabel, getAxisLinePaint, getAxisLineStroke, getFixedDimension, getLabel, getLabelAngle, getLabelEnclosure, getLabelFont, getLabelInsets, getLabelPaint, getPlot, getTickLabelFont, getTickLabelInsets, getTickLabelPaint, getTickMarkInsideLength, getTickMarkOutsideLength, getTickMarkPaint, getTickMarkStroke, hasListener, isAxisLineVisible, isTickLabelsVisible, isTickMarksVisible, isVisible, notifyListeners, removeChangeListener, setAxisLinePaint, setAxisLineStroke, setAxisLineVisible, setFixedDimension, setLabel, setLabelAngle, setLabelFont, setLabelInsets, setLabelPaint, setPlot, setTickLabelFont, setTickLabelInsets, setTickLabelPaint, setTickLabelsVisible, setTickMarkInsideLength, setTickMarkOutsideLength, setTickMarkPaint, setTickMarkStroke, setTickMarksVisible, setVisible
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.norther.tammi.sprig.chart.layout.ChartAxis
getLabel, setLabel
 

Constructor Detail

JFNumberAxis3D

public JFNumberAxis3D()
Constructs a new axis.


JFNumberAxis3D

public JFNumberAxis3D(String label)
Constructs a new labeled axis.

Parameters:
label - the axis label.
Method Detail

getFormat

public Format getFormat()
Description copied from interface: ChartAxis
Gets the coordinate format.

Specified by:
getFormat in interface ChartAxis
Returns:
the coordinate format.

setFormat

public void setFormat(Format format)
Description copied from interface: ChartAxis
Sets the coordinate format.

Specified by:
setFormat in interface ChartAxis
Parameters:
format - the coordinate format.

getLabelFontSize

public int getLabelFontSize()
Description copied from interface: ChartAxis
Gets the label font size.

Specified by:
getLabelFontSize in interface ChartAxis
Returns:
the font size in points.

setLabelFontSize

public void setLabelFontSize(int fs)
Description copied from interface: ChartAxis
Sets the label font size.

Specified by:
setLabelFontSize in interface ChartAxis
Parameters:
fs - the font size in points.

getScaleFontSize

public int getScaleFontSize()
Description copied from interface: ChartAxis
Gets the scale font size.

Specified by:
getScaleFontSize in interface ChartAxis
Returns:
the font size in points.

setScaleFontSize

public void setScaleFontSize(int fs)
Description copied from interface: ChartAxis
Sets the scale font size.

Specified by:
setScaleFontSize in interface ChartAxis
Parameters:
fs - the font size in points.

getUnitOfMeasure

public String getUnitOfMeasure()
Gets the unit of measure.

Returns:
the unit of measure.

setUnitOfMeasure

public void setUnitOfMeasure(String unit)
Sets the unit of measure.

Parameters:
unit - the unit of measure.


Copyright © 2004 The Norther Organization. All rights reserved.