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::DateTimeChooser Class Reference

Collaboration diagram for com::cosylab::gui::components::r2::DateTimeChooser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DateTimeChooser ()
Date getDate ()
void setDate (Date date)
void setEnabled (boolean how)

Static Public Member Functions

void main (String[] args)

Protected Member Functions

void createComponents ()

Private Attributes

DateChooser dateChooser
TimeChooser timeChooser
Calendar calendar = new GregorianCalendar()

Detailed Description

This is a container for DateChooser and TimeChooser components, combining the functionality of both. The components consists of six user-editable fields for year, month, day, hour, minute and seconds. All fields are validating allowing user to select only valid date and time values. These are the obtained using getDate and setDate methods. Creation date: (2/7/02 12:04:48 PM)
Author:
:


Constructor & Destructor Documentation

com::cosylab::gui::components::r2::DateTimeChooser::DateTimeChooser  )  [inline]
 

Constructs a new DateTimeChooser.


Member Function Documentation

void com::cosylab::gui::components::r2::DateTimeChooser::createComponents  )  [inline, protected]
 

Internal helper routine creates all the components. Creation date: (2/7/02 12:12:14 PM)

Date com::cosylab::gui::components::r2::DateTimeChooser::getDate  )  [inline]
 

Returns the date displayed by this component. The result is java.util.Date object. Only the following fields are set: SECOND, MINUTE, HOUR_OF_DAY, DAY_OF_MONTH, MONTH, YEAR. For more information on these fields see the java.util.Calendar. Creation date: (2/7/02 12:19:59 PM)

Returns:
java.util.Date

void com::cosylab::gui::components::r2::DateTimeChooser::main String[]  args  )  [inline, static]
 

void com::cosylab::gui::components::r2::DateTimeChooser::setDate Date  date  )  [inline]
 

Sets the date to display in this selector. Value is set through the java.util.Date object. Only the following fields are considerer: SECOND, MINUTE, HOUR_OF_DAY, DAY_OF_MONTH, MONTH, YEAR. For more information on these fields see the java.util.Calendar class. Creation date: (2/7/02 12:19:27 PM)

Parameters:
date java.util.Date

void com::cosylab::gui::components::r2::DateTimeChooser::setEnabled boolean  how  )  [inline]
 

Sets the enabled state of this component and the components contained in it. Creation date: (2/7/02 12:14:21 PM)

Parameters:
how boolean


Member Data Documentation

Calendar com::cosylab::gui::components::r2::DateTimeChooser::calendar = new GregorianCalendar() [private]
 

DateChooser com::cosylab::gui::components::r2::DateTimeChooser::dateChooser [private]
 

TimeChooser com::cosylab::gui::components::r2::DateTimeChooser::timeChooser [private]
 


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