| |
|
| com.sun.midp.chameleon.layers.PopupLayer javax.microedition.lcdui.DateEditor javax.microedition.lcdui.MiniDateEditor
MiniDateEditor | class MiniDateEditor extends DateEditor (Code) | | A utility class for editing date/time components for a DateField.
|
Field Summary | |
protected static String[] | DAYS Static array holding the day of the month values. | final protected static int | DAY_POPUP Constant indicating the day of the month popup, used in the process
of current focus tracking inside the date editor. | protected DEPopupLayer | dayPopup |
DAYS | protected static String[] DAYS(Code) | | Static array holding the day of the month values.
|
DAY_POPUP | final protected static int DAY_POPUP(Code) | | Constant indicating the day of the month popup, used in the process
of current focus tracking inside the date editor.
|
dayPopup | protected DEPopupLayer dayPopup(Code) | | The sub-popup layer used to select day of the month value
|
MiniDateEditor | public MiniDateEditor(DateFieldLFImpl lf)(Code) | | Create a new DateEditor layer.
Parameters: lf - The DateFieldLFImpl that triggered this date editor |
drawDateComponents | protected void drawDateComponents(Graphics g)(Code) | | Draw the date components.
Parameters: g - The Graphics object to paint to |
drawTimeComponents | protected void drawTimeComponents(Graphics g)(Code) | | Draw the time components.
Parameters: g - The Graphics object to paint to |
hideAllPopups | void hideAllPopups()(Code) | | Hide all sub-popups triggered by this date editor.
Overridden from parent class to close additional
'day of the month' popup.
|
paintAmPm | protected void paintAmPm(Graphics g)(Code) | | Paint the am/pm indicators.
Parameters: g - The graphics context to paint to |
populateDateComponents | protected void populateDateComponents()(Code) | | Populate the date components.
|
selectFired | protected boolean selectFired()(Code) | | Called when select key is fired, to take further action on it,
based on where the focus is on the date editor.
true if key was handled, false otherwise |
traverseAmPm | protected boolean traverseAmPm(int code)(Code) | | Handle internal traversal between the am/pm indicators.
Parameters: code - the code of this key event true if internal traversal occurred, false otherwise |
traverseEditor | protected boolean traverseEditor(int code)(Code) | | Handles internal traversal within the date editor.
Parameters: code - the code of this key event true always, since popup layers swallow all events |
|
|
|