org.norther.tammi.sprig.chart.layout
Interface ChartAxis

All Known Implementing Classes:
JFCategoryAxis, JFCategoryAxis3D, JFDateAxis, JFNumberAxis, JFNumberAxis3D

public interface ChartAxis

An interface to chart axes.

Author:
Ilkka Priha

Method Summary
 Format getFormat()
          Gets the coordinate format.
 String getLabel()
          Gets the label of the axis.
 int getLabelFontSize()
          Gets the label font size.
 int getScaleFontSize()
          Gets the scale font size.
 void setFormat(Format format)
          Sets the coordinate format.
 void setLabel(String label)
          Sets the label of the axis.
 void setLabelFontSize(int fs)
          Sets the label font size.
 void setScaleFontSize(int fs)
          Sets the scale font size.
 

Method Detail

getLabel

String getLabel()
Gets the label of the axis.

Returns:
the label.

setLabel

void setLabel(String label)
Sets the label of the axis.

Parameters:
label - the label.

getFormat

Format getFormat()
Gets the coordinate format.

Returns:
the coordinate format.

setFormat

void setFormat(Format format)
Sets the coordinate format.

Parameters:
format - the coordinate format.

getLabelFontSize

int getLabelFontSize()
Gets the label font size.

Returns:
the font size in points.

setLabelFontSize

void setLabelFontSize(int fs)
Sets the label font size.

Parameters:
fs - the font size in points.

getScaleFontSize

int getScaleFontSize()
Gets the scale font size.

Returns:
the font size in points.

setScaleFontSize

void setScaleFontSize(int fs)
Sets the scale font size.

Parameters:
fs - the font size in points.


Copyright © 2004 The Norther Organization. All rights reserved.