
Public Member Functions | |
| DateTimeChooser () | |
| Date | getDate () |
| void | setDate (Date date) |
| void | setEnabled (boolean how) |
Static Public Member Functions | |
| static void | main (String[] args) |
Protected Member Functions | |
| void | createComponents () |
Private Attributes | |
| DateChooser | dateChooser |
| TimeChooser | timeChooser |
| Calendar | calendar = new GregorianCalendar() |
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)
| com::cosylab::gui::components::r2::DateTimeChooser::DateTimeChooser | ( | ) | [inline] |
| 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)
References dateChooser, and timeChooser.
Referenced by DateTimeChooser().
| 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)
References calendar, dateChooser, com::cosylab::gui::components::r2::DateChooser::getDay(), com::cosylab::gui::components::r2::TimeChooser::getHour(), com::cosylab::gui::components::r2::TimeChooser::getMinute(), com::cosylab::gui::components::r2::DateChooser::getMonth(), com::cosylab::gui::components::r2::TimeChooser::getSeconds(), com::cosylab::gui::components::r2::DateChooser::getYear(), and timeChooser.
Referenced by com::cosylab::logging::settings::FilterDatePanel::getFilter(), main(), and alma::acs::logging::archive::zoom::ManualZoomDlg::run().
| static void com::cosylab::gui::components::r2::DateTimeChooser::main | ( | String[] | args | ) | [inline, static] |
References DateTimeChooser(), and getDate().
| 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)
| date | java.util.Date |
References dateChooser, com::cosylab::gui::components::r2::DateChooser::setDate(), com::cosylab::gui::components::r2::TimeChooser::setTime(), and timeChooser.
Referenced by com::cosylab::logging::settings::FilterDatePanel::setFilter().
| 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)
| how | boolean |
References dateChooser, com::cosylab::gui::components::r2::TimeChooser::setEnabled(), com::cosylab::gui::components::r2::DateChooser::setEnabled(), and timeChooser.
Calendar com::cosylab::gui::components::r2::DateTimeChooser::calendar = new GregorianCalendar() [private] |
Referenced by getDate().
Referenced by createComponents(), getDate(), setDate(), and setEnabled().
Referenced by createComponents(), getDate(), setDate(), and setEnabled().
1.6.2