
Public Member Functions | |
| TimeChooser () | |
| int | getHour () |
| int | getMinute () |
| int | getSeconds () |
| Date | getTime () |
| void | setEnabled (boolean how) |
| void | setHour (int hour) |
| void | setMinute (int minute) |
| void | setSeconds (int seconds) |
| void | setTime () |
| void | setTime (Date date) |
Static Public Member Functions | |
| void | main (String[] args) |
Protected Member Functions | |
| void | createComponents () |
| GridBagConstraints | createConstraints (int x, int y, double ratio, int top, int bottom) |
| void | updateDisplay () |
Protected Attributes | |
| JIntegerTextField | hourChooser |
| JIntegerTextField | minuteChooser |
| JIntegerTextField | secondChooser |
Private Attributes | |
| JLabel | separator1 |
| JLabel | separator2 |
| JLabel | hourLabel |
| JLabel | minuteLabel |
| JLabel | secondsLabel |
| Calendar | calendar |
java.util.Date class. After creation, the component will default to current time. Creation date: (2/4/02 2:23:26 PM)
|
|
TimeChooser constructor comment. |
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
Returns the currently selected hour. The value returned is between 0 and 23 inclusively. Creation date: (2/4/02 3:14:36 PM)
|
|
|
Returns the currently selected minute. The value is in range 0..59 inclusively. Creation date: (2/4/02 3:15:48 PM)
|
|
|
Returns the currently selected seconds. The value is in range 0..59 inclusively. Creation date: (2/4/02 3:16:45 PM)
|
|
|
Returns the currently selected time. Only hour, minute and second portions of the result are defined. Creation date: (2/4/02 3:40:17 PM)
|
|
|
Insert the method's description here. Creation date: (2/4/02 2:31:58 PM)
|
|
|
Insert the method's description here. Creation date: (2/5/02 5:41:18 PM)
|
|
|
Sets the hour. The value will be cropped to the 0..23 range. Creation date: (2/4/02 3:13:00 PM)
|
|
|
Sets the minutes of the current time. New value will be cropped to the 0..59 range. Creation date: (2/4/02 3:19:22 PM)
|
|
|
Sets the seconds of the current time. New value will be cropped to the 0..59 range. Creation date: (2/4/02 3:21:45 PM)
|
|
|
Sets the time to display. Only the hour, minute and second portion of the date will be used. Creation date: (2/4/02 3:38:43 PM) |
|
|
Insert the method's description here. Creation date: (2/4/02 3:38:43 PM) |
|
|
Updates the displayed values after manually setting the time. Creation date: (2/4/02 3:23:33 PM) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8