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

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

List of all members.

Public Member Functions

 ImprovedChartXAxis ()
void drawAxis (java.awt.Graphics g)
boolean isIsLogaritmic ()
void setIsLogaritmic (boolean newIsLogaritmic)

Private Member Functions

void drawLinearAxis (java.awt.Graphics g)
void drawLogaritmicAxis (java.awt.Graphics g)
void logDraw (int thick, int digit, java.awt.Graphics g) throws IllegalArgumentException

Private Attributes

boolean isLogaritmic = false
double xmin
double xminDraw
double xmax
double xmaxDraw
java.awt.FontMetrics fm
double yOrigin = -1.0
double ymax
double ymin

Detailed Description

This is class for drawing x axis.


Constructor & Destructor Documentation

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

ImprovedChartXAxis default constructor.


Member Function Documentation

void com::cosylab::gui::components::r2::chart::ImprovedChartXAxis::drawAxis ( java.awt.Graphics  g  )  [inline]
void com::cosylab::gui::components::r2::chart::ImprovedChartXAxis::drawLinearAxis ( java.awt.Graphics  g  )  [inline, private]
void com::cosylab::gui::components::r2::chart::ImprovedChartXAxis::drawLogaritmicAxis ( java.awt.Graphics  g  )  [inline, private]
boolean com::cosylab::gui::components::r2::chart::ImprovedChartXAxis::isIsLogaritmic (  )  [inline]

Tests if scale is logaritmic.

References isLogaritmic.

void com::cosylab::gui::components::r2::chart::ImprovedChartXAxis::logDraw ( int  thick,
int  digit,
java.awt.Graphics  g 
) throws IllegalArgumentException [inline, private]
void com::cosylab::gui::components::r2::chart::ImprovedChartXAxis::setIsLogaritmic ( boolean  newIsLogaritmic  )  [inline]

Sets if scale is logaritmic or linear.

References isLogaritmic.


Member Data Documentation

Referenced by drawLogaritmicAxis(), and logDraw().

Referenced by drawLogaritmicAxis(), and logDraw().


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

Generated by  doxygen 1.6.2