|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.sap.ui.core.client.Element
com.sap.ui.core.client.Control
com.sap.ui.commons.client.TextField
com.sap.ui.commons.client.DatePicker
public class DatePicker
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.
| Constructor Summary | |
|---|---|
protected |
DatePicker()
constructs the class DatePickerhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
static DatePicker |
create()
creates a new instance of the class DatePicker |
static DatePicker |
create(String idOrConfig)
creates a new instance of the class DatePicker |
static DatePicker |
create(String id,
String config)
creates a new instance of the class DatePicker |
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. |
DatePicker |
setLocale(String value)
Setter for property locale |
DatePicker |
setYyyymmdd(String value)
Setter for property yyyymmdd |
| Methods inherited from class com.sap.ui.commons.client.TextField |
|---|
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.Control |
|---|
addStyleClass, hasStyleClass, invalidate, placeAt, placeAt, removeStyleClass, rerender |
| Methods inherited from class com.sap.ui.core.client.Element |
|---|
_convertArray, _convertArray, _convertArray, _convertArray, _convertArray, attachBrowserEvent, attachEvent, bindAggregation, bindContext, bindProperty, bindProperty, destroy, detachBrowserEvent, detachEvent, getDomRef, getElementName, getId, getLibraryName, getModel, getParent, getProperty, getTooltip_AsString, getTooltip_Text, getTooltip, isActive, setModel, setProperty, setTooltip, setTooltip, unbindAggregation, unbindContext, unbindProperty |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected DatePicker()
DatePickerJavaScriptObject restriction
| Method Detail |
|---|
public static DatePicker create()
DatePicker
public static DatePicker create(String idOrConfig)
DatePicker
id - id of the DatePicker or configuration JSON string
public static DatePicker create(String id,
String config)
DatePicker
id - id of the DatePickerconfig - configuration JSON stringpublic final String getLocale()
locale
Defines the locale (language and country), e.g. "en-US", whose translations should be used to render the DatePicker.
public final DatePicker setLocale(String value)
locale
value - String
this to allow method chainingpublic final 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 final DatePicker setYyyymmdd(String value)
yyyymmdd
value - String
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||