|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.data.BaseModelData
com.extjs.gxt.ui.client.widget.form.Time
public class Time
ModelData instance used with TimeField.
TimeField,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
|---|
allowNestedValues, map |
| Constructor Summary | |
|---|---|
Time()
Creates a new time instance. |
|
Time(java.util.Date date)
Creates a new time instance. |
|
Time(java.util.Date date,
java.lang.String text)
Creates a new time instance. |
|
Time(int hour,
int minutes)
Creates a new time instance. |
|
Time(int hour,
int minutes,
java.lang.String text)
Creates a new time instance. |
|
| Method Summary | |
|---|---|
java.util.Date |
getDate()
Returns a new date instance form the time information. |
int |
getHour()
Returns the hour. |
int |
getMinutes()
Returns the mintues. |
java.lang.String |
getText()
Gets the display text. |
void |
setHour(int hour)
Sets the hour. |
void |
setMinutes(int minutes)
Sets the minutes. |
void |
setText(java.lang.String text)
Sets the display text. |
| Methods inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
|---|
get, get, getProperties, getPropertyNames, isAllowNestedValues, remove, set, setAllowNestedValues, setProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Time()
public Time(java.util.Date date)
date - any date, hours and minutes will be used
public Time(int hour,
int minutes)
hour - the (0-23)minutes - the minutes (0-59)
public Time(java.util.Date date,
java.lang.String text)
date - any date, hours and minutes will be usedtext - the display text
public Time(int hour,
int minutes,
java.lang.String text)
hour - the (0-23)minutes - the minutes (0-59)text - the display text| Method Detail |
|---|
public java.util.Date getDate()
public java.lang.String getText()
public int getHour()
public int getMinutes()
public void setText(java.lang.String text)
text - the display text.public void setHour(int hour)
hour - the hourpublic void setMinutes(int minutes)
minutes - the minutes
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||