tit.gui.panel.DateTimeFormatPreferences Class Reference

Inheritance diagram for tit.gui.panel.DateTimeFormatPreferences:

tit.gui.panel.PreferencesPanel List of all members.

Public Member Functions

 DateTimeFormatPreferences ()
void actionPerformed (ActionEvent event)
void applyChanges ()
String getName ()

Private Attributes

JComboBox datelist
JLabel dateexample
JComboBox timelist
JLabel timeexample
JComboBox datetimelist
JLabel datetimeexample

Static Private Attributes

static final String[] DATE_FORMATS
static final String[] TIME_FORMATS
static final String[] DATE_TIME_FORMATS

Detailed Description

Allows the user to edit date- and time-formats.
Author:
Bart Sas


Constructor & Destructor Documentation

tit.gui.panel.DateTimeFormatPreferences.DateTimeFormatPreferences (  ) 

Constructs a new AutosavePreferences.


Member Function Documentation

void tit.gui.panel.DateTimeFormatPreferences.actionPerformed ( ActionEvent  event  ) 

Handles ActionEvents coming from the buttons.

Parameters:
event The associated ActionEvent.

void tit.gui.panel.DateTimeFormatPreferences.applyChanges (  )  [virtual]

Requests the preferences panel to apply it's changes.

Implements tit.gui.panel.PreferencesPanel.

String tit.gui.panel.DateTimeFormatPreferences.getName (  )  [virtual]

Returns this panel's name.

Returns:
This panel's name.

Implements tit.gui.panel.PreferencesPanel.


Member Data Documentation

final String [] tit.gui.panel.DateTimeFormatPreferences.DATE_FORMATS [static, private]

Initial value:

 {
        "d/MM/yy",
        "dd/MM/yy",
        "dd/MM/yyyy",
        "d MMM yy",
        "d MMM yyyy",
        "d. MMM. yyyy",
        "d MMMM yyyy",
        "d. MMMM yyyy",
        "yy-MM-dd",
    }
A list of date formats.

final String [] tit.gui.panel.DateTimeFormatPreferences.TIME_FORMATS [static, private]

Initial value:

 {
        "HH:mm:ss",
        "HH:mm",
        "HH-mm-ss",
        "HH-mm",
    }
A list of time formats.

final String [] tit.gui.panel.DateTimeFormatPreferences.DATE_TIME_FORMATS [static, private]

A list of date-time formats.

JComboBox tit.gui.panel.DateTimeFormatPreferences.datelist [private]

The date format combo box.

JLabel tit.gui.panel.DateTimeFormatPreferences.dateexample [private]

The date example field.

JComboBox tit.gui.panel.DateTimeFormatPreferences.timelist [private]

The time format combo box.

JLabel tit.gui.panel.DateTimeFormatPreferences.timeexample [private]

The time example field.

JComboBox tit.gui.panel.DateTimeFormatPreferences.datetimelist [private]

The date-time format combo box.

JLabel tit.gui.panel.DateTimeFormatPreferences.datetimeexample [private]

The date-time example field.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:00 2007 by  doxygen 1.5.1