Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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.


Member Function Documentation

String com::cosylab::gui::components::r2::chart::AbstractChartAxis::format double  number  )  [inline]
 

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.

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.

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.

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.

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.

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.

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).

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).

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.

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.

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

This method return margins.

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.

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.

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.

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.

void com::cosylab::gui::components::r2::chart::AbstractChartAxis::setFormat java.lang.String  newFormat  )  [inline]
 

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

See also:
com.cosylab.gui.chart.ChartAxis.setFormat(java.lang.String newFormat)

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

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.

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

This method sets major thick length.

See also:
#getMajorThickLength()

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

This method sets minor thick length.

See also:
#getMinorThickLength()

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()

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()

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

This method sets margins.

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.


Member Data Documentation

java.awt.Dimension com::cosylab::gui::components::r2::chart::AbstractChartAxis::chartSize [protected]
 

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

java.awt.Font com::cosylab::gui::components::r2::chart::AbstractChartAxis::font [protected]
 

java.awt.Color com::cosylab::gui::components::r2::chart::AbstractChartAxis::fontColor [protected]
 

java.lang.String com::cosylab::gui::components::r2::chart::AbstractChartAxis::format [protected]
 

java.awt.Color com::cosylab::gui::components::r2::chart::AbstractChartAxis::lineColor [protected]
 

int com::cosylab::gui::components::r2::chart::AbstractChartAxis::majorTickLength = 5 [protected]
 

int com::cosylab::gui::components::r2::chart::AbstractChartAxis::minorTickLength = 3 [protected]
 

int com::cosylab::gui::components::r2::chart::AbstractChartAxis::preferedHeight = 10 [protected]
 

int com::cosylab::gui::components::r2::chart::AbstractChartAxis::preferedWidth = 10 [protected]
 

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

ChartViewManager com::cosylab::gui::components::r2::chart::AbstractChartAxis::viewManager [protected]
 

Interval com::cosylab::gui::components::r2::chart::AbstractChartAxis::xScale = new Interval(0.0,1.0) [protected]
 

Interval com::cosylab::gui::components::r2::chart::AbstractChartAxis::yScale = new Interval(0.0,1.0) [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:12:31 2009 for ACS Java API by doxygen 1.3.8