Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.microedition.lcdui
Class DateField  view DateField download DateField.java

java.lang.Object
  extended byjavax.microedition.lcdui.Item
      extended byjavax.microedition.lcdui.DateField

public class DateField
extends Item


Field Summary
(package private)  Alert alert
           
(package private) static Command backCommand
           
(package private)  java.util.Date date
           
static int DATE
           
static int DATE_TIME
           
(package private)  TextBox dateBox
           
(package private) static java.text.SimpleDateFormat dateFormat
           
(package private)  ChoiceGroup dateTime
           
(package private)  CommandListener dateTimeListener
           
(package private)  java.lang.String label
           
(package private)  int mode
           
(package private) static Command saveCommand
           
static int TIME
           
(package private)  TextBox timeBox
           
(package private) static java.text.SimpleDateFormat timeFormat
           
 
Fields inherited from class javax.microedition.lcdui.Item
labelComponent, OUTOFITEM, owner
 
Constructor Summary
DateField(java.lang.String label, int mode)
           
DateField(java.lang.String label, int mode, java.util.TimeZone timeZone)
           
 
Method Summary
 java.util.Date getDate()
           
(package private)  int getHeight()
           
 int getInputMode()
           
(package private)  boolean isFocusable()
           
(package private)  int paint(Graphics g)
           
(package private)  boolean select()
           
 void setDate(java.util.Date date)
           
(package private)  void setFocus(boolean state)
           
 void setInputMode(int mode)
           
 void setLabel(java.lang.String label)
           
(package private)  int traverse(int gameKeyCode, int top, int bottom, boolean action)
           
(package private)  void updateDateTimeString()
           
 
Methods inherited from class javax.microedition.lcdui.Item
getLabel, getOwner, hasFocus, keyPressed, paintContent, repaint, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE

public static final int DATE
See Also:
Constant Field Values

TIME

public static final int TIME
See Also:
Constant Field Values

DATE_TIME

public static final int DATE_TIME
See Also:
Constant Field Values

date

java.util.Date date

label

java.lang.String label

mode

int mode

dateTime

ChoiceGroup dateTime

dateBox

TextBox dateBox

timeBox

TextBox timeBox

dateFormat

static java.text.SimpleDateFormat dateFormat

timeFormat

static java.text.SimpleDateFormat timeFormat

alert

Alert alert

saveCommand

static Command saveCommand

backCommand

static Command backCommand

dateTimeListener

CommandListener dateTimeListener
Constructor Detail

DateField

public DateField(java.lang.String label,
                 int mode)

DateField

public DateField(java.lang.String label,
                 int mode,
                 java.util.TimeZone timeZone)
Method Detail

getDate

public java.util.Date getDate()

setDate

public void setDate(java.util.Date date)

getInputMode

public int getInputMode()

setInputMode

public void setInputMode(int mode)

setLabel

public void setLabel(java.lang.String label)
Overrides:
setLabel in class Item

isFocusable

boolean isFocusable()
Overrides:
isFocusable in class Item

getHeight

int getHeight()
Overrides:
getHeight in class Item

paint

int paint(Graphics g)
Specified by:
paint in class Item

setFocus

void setFocus(boolean state)
Overrides:
setFocus in class Item

select

boolean select()
Overrides:
select in class Item

traverse

int traverse(int gameKeyCode,
             int top,
             int bottom,
             boolean action)
Overrides:
traverse in class Item

updateDateTimeString

void updateDateTimeString()