com::cosylab::gui::components::r2::chart::AbstractChartAxis Class Reference

Inheritance diagram for com::cosylab::gui::components::r2::chart::AbstractChartAxis:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::gui::components::r2::chart::AbstractChartAxis:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AbstractChartAxis ()
String format (double number)
java.awt.Dimension getChartSize ()
java.awt.Font getFont ()
java.awt.Color getFontColor ()
java.lang.String getFormat ()
java.awt.Color getLineColor ()
int getMajorTickLength ()
int getMinorTickLength ()
int getPreferedHeight ()
int getPreferedWidth ()
java.awt.Insets getTextMargin ()
ChartViewManager getViewManager ()
void setChartSize (java.awt.Dimension newChartSize)
void setFont (java.awt.Font newFont)
void setFontColor (java.awt.Color newFontColor)
void setFormat (java.lang.String newFormat)
void setLineColor (java.awt.Color newLineColor)
void setMajorTickLength (int newMajorTickLength)
void setMinorTickLength (int newMinorTickLength)
void setPreferedHeight (int newPreferedHeight)
void setPreferedWidth (int newPreferedWidth)
void setTextMargin (java.awt.Insets newTextMargin)
void setViewManager (ChartViewManager newViewManager)

Protected Attributes

int preferedHeight = 10
int preferedWidth = 10
java.awt.Color lineColor
java.awt.Font font
java.awt.Color fontColor
java.awt.Dimension chartSize
Interval xScale = new Interval(0.0,1.0)
Interval yScale = new Interval(0.0,1.0)
java.lang.String format
java.text.DecimalFormat decFormat = new java.text.DecimalFormat()
int minorTickLength = 3
int majorTickLength = 5
ChartViewManager viewManager
java.awt.Insets textMargin = new java.awt.Insets(5,7,5,7)

Detailed Description

This class is abstract class that is used for drawing axis. For more information:

See also:
com.cosylab.gui.chart.ChartAxis

Constructor & Destructor Documentation

com::cosylab::gui::components::r2::chart::AbstractChartAxis::AbstractChartAxis (  )  [inline]

AbstractChartAxis default constructor.

References setFont(), setFontColor(), setFormat(), and setLineColor().


Member Function Documentation

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.format()

Reimplemented in com::cosylab::gui::components::r2::chart::DefaultTimeXAxis, and com::cosylab::gui::components::r2::chart::ImprovedTimeXAxis.

References decFormat.

java.awt.Dimension com::cosylab::gui::components::r2::chart::AbstractChartAxis::getChartSize (  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.getChartSize()

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References chartSize.

java.awt.Font com::cosylab::gui::components::r2::chart::AbstractChartAxis::getFont (  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.getFont()

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References font.

java.awt.Color com::cosylab::gui::components::r2::chart::AbstractChartAxis::getFontColor (  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.getFontColor()

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References fontColor.

java.lang.String com::cosylab::gui::components::r2::chart::AbstractChartAxis::getFormat (  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.getFormat()

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References format.

java.awt.Color com::cosylab::gui::components::r2::chart::AbstractChartAxis::getLineColor (  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.getLineColor()

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References lineColor.

int com::cosylab::gui::components::r2::chart::AbstractChartAxis::getMajorTickLength (  )  [inline]

This method return length of major thick (often used for first and last signature on axis).

References majorTickLength.

int com::cosylab::gui::components::r2::chart::AbstractChartAxis::getMinorTickLength (  )  [inline]

This method return length of minor thick (often used for all signatures on axis, except first and last).

References minorTickLength.

int com::cosylab::gui::components::r2::chart::AbstractChartAxis::getPreferedHeight (  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.getPreferedHeight()

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References preferedHeight.

int com::cosylab::gui::components::r2::chart::AbstractChartAxis::getPreferedWidth (  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.getPreferedWidth()

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References preferedWidth.

java.awt.Insets com::cosylab::gui::components::r2::chart::AbstractChartAxis::getTextMargin (  )  [inline]

This method return margins.

References textMargin.

ChartViewManager com::cosylab::gui::components::r2::chart::AbstractChartAxis::getViewManager (  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.getViewManager()

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References viewManager.

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setChartSize ( java.awt.Dimension  newChartSize  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.setChartSize(java.awt.Dimension newChartSize)

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References chartSize.

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setFont ( java.awt.Font  newFont  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.setFont(java.awt.Font newFont)

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References font.

Referenced by AbstractChartAxis().

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setFontColor ( java.awt.Color  newFontColor  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.setFontColor(java.awt.Color newFontColor)

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References fontColor.

Referenced by AbstractChartAxis().

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setFormat ( java.lang.String  newFormat  )  [inline]
void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setLineColor ( java.awt.Color  newLineColor  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.setLineColor(java.awt.Color newLineColor)

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References lineColor.

Referenced by AbstractChartAxis().

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setMajorTickLength ( int  newMajorTickLength  )  [inline]

This method sets major thick length.

See also:
getMajorThickLength()

References majorTickLength.

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setMinorTickLength ( int  newMinorTickLength  )  [inline]

This method sets minor thick length.

See also:
getMinorThickLength()

References minorTickLength.

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setPreferedHeight ( int  newPreferedHeight  )  [inline]

This method sets prefered height.

See also:
com.cosylab.gui.chart.ChartAxis.GetPreferedHeight()

References preferedHeight.

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setPreferedWidth ( int  newPreferedWidth  )  [inline]

This method sets prefered width.

See also:
com.cosylab.gui.chart.ChartAxis.GetPreferedWidth()

References preferedWidth.

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setTextMargin ( java.awt.Insets  newTextMargin  )  [inline]

This method sets margins.

References textMargin.

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setViewManager ( ChartViewManager  newViewManager  )  [inline]

This method is from interface com.cosylab.gui.chart.ChartAxis

See also:
com.cosylab.gui.chart.ChartAxis.setViewManager(ChartViewManager newViewManager)

Implements com::cosylab::gui::components::r2::chart::ChartAxis.

References com::cosylab::gui::components::r2::chart::ChartViewManager::extractedXScaleIterator(), com::cosylab::gui::components::r2::chart::ChartViewManager::extractedYScaleIterator(), viewManager, xScale, and yScale.


Member Data Documentation

java.text.DecimalFormat com::cosylab::gui::components::r2::chart::AbstractChartAxis::decFormat = new java.text.DecimalFormat() [protected]

Referenced by format(), and setFormat().

java.awt.Insets com::cosylab::gui::components::r2::chart::AbstractChartAxis::textMargin = new java.awt.Insets(5,7,5,7) [protected]

Referenced by getViewManager(), and setViewManager().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2