|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.sap.ui.core.client.ControlWidget
com.sap.ui.commons.client.TextFieldWidget
com.sap.ui.commons.client.DatePickerWidget
public class DatePickerWidget
The class DatePicker is the GWT wrapper
for the Phoenix control: sap.ui.commons.DatePicker.
Allows end users to interact with dates. Entries can directly be written in, or selected from a calendar pad. Note: Dates can always be manually entered in the fix YYYYMMDD format, on top of the flexible "locale" format.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
|
DatePickerWidget()
constructs the class DatePickerWidget |
protected |
DatePickerWidget(DatePicker control)
constructs the class DatePickerWidget |
|
DatePickerWidget(String id)
constructs the class DatePickerWidget |
| Method Summary | |
|---|---|
DatePicker |
getControl()
returns the reference to the Phoenix Control |
String |
getLocale()
Getter for property locale
Defines the locale (language and country), e.g. |
String |
getYyyymmdd()
Getter for property yyyymmdd
Defines the date as a "yyyymmdd" string, independent from the format used. |
void |
setLocale(String value)
Setter for property locale |
void |
setYyyymmdd(String value)
Setter for property yyyymmdd |
| Methods inherited from class com.sap.ui.commons.client.TextFieldWidget |
|---|
attachChangeEvent, bindValue, bindValue, detachChangeEvent, focus, getAccessibleDescription, getAccessibleName, getAccessibleRole, getDesign, getHelpId, getImeMode, getMaxLength, getTextAlign, getTextDirection, getValue, getValueState, getWidth, isEditable, isEnabled, isRequired, isVisible, setAccessibleDescription, setAccessibleName, setAccessibleRole, setDesign, setEditable, setEnabled, setHelpId, setImeMode, setMaxLength, setRequired, setTextAlign, setTextDirection, setValue, setValueState, setVisible, setWidth, unbindValue |
| Methods inherited from class com.sap.ui.core.client.ControlWidget |
|---|
destroy, doAttachChildren, doDetachChildren, isDesignTime, wrap |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DatePickerWidget()
DatePickerWidget
public DatePickerWidget(String id)
DatePickerWidget
id - id of the DatePickerWidgetprotected DatePickerWidget(DatePicker control)
DatePickerWidget
control - reference to an existing DatePicker| Method Detail |
|---|
public DatePicker getControl()
Control
getControl in class TextFieldWidgetControlpublic String getLocale()
locale
Defines the locale (language and country), e.g. "en-US", whose translations should be used to render the DatePicker.
public void setLocale(String value)
locale
value - Stringpublic String getYyyymmdd()
yyyymmdd
Defines the date as a "yyyymmdd" string, independent from the format used. The inherited textField "value" attribute uses the date format as configured via the locale.
public void setYyyymmdd(String value)
yyyymmdd
value - String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||