|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface DatePicker.DatePickerAppearance
The appearance of the date picker.
| Method Summary | |
|---|---|
java.lang.String |
dateSelector()
|
java.lang.String |
daySelector()
Returns the selector that identifies the element representing a day. |
NodeList<Element> |
getDateCells(XElement parent)
|
boolean |
isDisabled(Element cell)
|
java.lang.String |
leftMonthSelector()
Returns the selector that identifies the element representing the left month arrow. |
java.lang.String |
leftYearSelector()
Returns the selector that identifies the element representing the left year arrow (in the month / year picker). |
java.lang.String |
monthButtonSelector()
Returns the selector that identifies the element representing the month button (for displaying the month / year picker). |
java.lang.String |
monthPickerCancelSelector()
Returns the selector that identifies the element representing the month picker cancel button (in the month / year picker). |
java.lang.String |
monthPickerMonthSelector()
Returns the selector that identifies the elements representing the months (in the month / year picker). |
java.lang.String |
monthPickerOkSelector()
Returns the selector that identifies the element representing the OK button (in the month / year picker). |
java.lang.String |
monthPickerYearSelector()
Returns the selector that identifies the element representing the year (in the month / year picker). |
void |
onMonthButtonTextChange(XElement parent,
java.lang.String text)
|
void |
onMonthPickerSize(XElement monthPicker,
int width,
int height)
|
void |
onMonthSelected(Element cell,
boolean select)
|
void |
onTextChange(Element cell,
java.lang.String text)
|
void |
onUpdateDateStyle(Element cell,
DatePicker.DateState state,
boolean add)
|
void |
onUpdateDayOfWeeks(XElement parent,
java.util.List<java.lang.String> values)
|
void |
render(SafeHtmlBuilder sb)
Renders the appearance of a date picker as HTML into a SafeHtmlBuilder, suitable for passing to
Element.setInnerHTML(String) on a container element. |
void |
renderMonthPicker(SafeHtmlBuilder sb,
DatePicker.DatePickerMessages messages,
java.lang.String[] monthNames)
Renders the appearance of a month / year picker as HTML into a SafeHtmlBuilder, suitable for passing to
Element.setInnerHTML(String) on a container element. |
java.lang.String |
rightMonthSelector()
Returns the selector that identifies the element representing the right month arrow. |
java.lang.String |
rightYearSelector()
Returns the selector that identifies the element representing the right year arrow (in the month / year picker). |
java.lang.String |
todayButtonSelector()
Returns the selector that identifies the element representing the today button. |
| Method Detail |
|---|
void onUpdateDateStyle(Element cell,
DatePicker.DateState state,
boolean add)
void onTextChange(Element cell,
java.lang.String text)
void onMonthSelected(Element cell,
boolean select)
void onMonthButtonTextChange(XElement parent,
java.lang.String text)
void onMonthPickerSize(XElement monthPicker,
int width,
int height)
boolean isDisabled(Element cell)
java.lang.String dateSelector()
NodeList<Element> getDateCells(XElement parent)
void onUpdateDayOfWeeks(XElement parent,
java.util.List<java.lang.String> values)
java.lang.String daySelector()
java.lang.String leftMonthSelector()
java.lang.String leftYearSelector()
java.lang.String monthButtonSelector()
java.lang.String monthPickerCancelSelector()
java.lang.String monthPickerMonthSelector()
java.lang.String monthPickerOkSelector()
java.lang.String monthPickerYearSelector()
void render(SafeHtmlBuilder sb)
SafeHtmlBuilder, suitable for passing to
Element.setInnerHTML(String) on a container element.
sb - receives the rendered appearance
void renderMonthPicker(SafeHtmlBuilder sb,
DatePicker.DatePickerMessages messages,
java.lang.String[] monthNames)
SafeHtmlBuilder, suitable for passing to
Element.setInnerHTML(String) on a container element.
sb - receives the rendered appearancemessages - the translatable messages (e.g. for ToolTips)monthNames - the month namesjava.lang.String rightMonthSelector()
java.lang.String rightYearSelector()
java.lang.String todayButtonSelector()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||