|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.microedition.lcdui.Item
|
+--javax.microedition.lcdui.DateField
A date field class allows dates to be displayed and entered
| Nested Class Summary | |
protected class |
DateField.Peer
Peer class that does the drawing |
| Nested classes inherited from class javax.microedition.lcdui.Item |
|
| Field Summary | |
static int |
DATE
Only allow dates to be displayed and entered |
static int |
DATE_TIME
Allow date and time to be displayed and entered |
static int |
TIME
Only allow times to be displayed and entered |
| Fields inherited from class javax.microedition.lcdui.Item |
form, highlighted, label, peer |
| Constructor Summary | |
DateField(java.lang.String label,
int mode)
Create a new date field with a label and the default timezone |
|
DateField(java.lang.String label,
int mode,
TimeZone zone)
Create a new date field with a label and the specified timezone |
|
| Method Summary | |
Date |
getDate()
Get the date |
int |
getInputMode()
Get the input mode |
void |
setDate(Date date)
Set the date |
void |
setInputMode(int mode)
Set the input mode |
| Methods inherited from class javax.microedition.lcdui.Item |
getLabel, setLabel |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DATE
public static final int TIME
public static final int DATE_TIME
| Constructor Detail |
public DateField(java.lang.String label,
int mode)
label - The labelmode - The mode to do
public DateField(java.lang.String label,
int mode,
TimeZone zone)
label - The labelmode - The mode to dozone - The timezone| Method Detail |
public Date getDate()
public void setDate(Date date)
date - The date to setpublic int getInputMode()
public void setInputMode(int mode)
mode - The mode to set
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||