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

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

List of all members.

Public Member Functions

 DefaultTimeXAxis ()
String format (double number)
java.text.SimpleDateFormat getDateFormat ()
void setFormat (java.lang.String newFormat)

Protected Attributes

java.text.SimpleDateFormat dateFormat = null

Detailed Description

Insert the type's description here. Creation date: (12.1.2002 17:26:20)

Author:
:

Constructor & Destructor Documentation

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

DefaultTimeXAxis constructor.


Member Function Documentation

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

This method return string that represent date, which is constructed from parameter specified number.

Returns:
java.lang.String
Parameters:
number double

Reimplemented from com::cosylab::gui::components::r2::chart::AbstractChartAxis.

References getDateFormat().

Referenced by getDateFormat(), and setFormat().

java.text.SimpleDateFormat com::cosylab::gui::components::r2::chart::DefaultTimeXAxis::getDateFormat (  )  [inline]

This method return dateFormat. If it is not initialized return new java.text.SimpleDateFormat.

Returns:
java.text.SimpleDateFormat

References dateFormat, and format().

Referenced by format(), and setFormat().

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

This method sets new format in AbstractChartAxis.

Parameters:
newFormat java.lang.String

Reimplemented from com::cosylab::gui::components::r2::chart::AbstractChartAxis.

References format(), and getDateFormat().


Member Data Documentation

java.text.SimpleDateFormat com::cosylab::gui::components::r2::chart::DefaultTimeXAxis::dateFormat = null [protected]

Referenced by getDateFormat().


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

Generated by  doxygen 1.6.2