public static interface DatePicker.DatePickerAppearance
Modifier and Type | Method and Description |
---|---|
String |
dateSelector() |
String |
daySelector()
Returns the selector that identifies the element representing a day.
|
<any> |
getDateCells(XElement parent) |
boolean |
isDisabled(Element cell) |
String |
leftMonthSelector()
Returns the selector that identifies the element representing the left
month arrow.
|
String |
leftYearSelector()
Returns the selector that identifies the element representing the left
year arrow (in the month / year picker).
|
String |
monthButtonSelector()
Returns the selector that identifies the element representing the month
button (for displaying the month / year picker).
|
String |
monthPickerCancelSelector()
Returns the selector that identifies the element representing the month
picker cancel button (in the month / year picker).
|
String |
monthPickerMonthSelector()
Returns the selector that identifies the elements representing the months
(in the month / year picker).
|
String |
monthPickerOkSelector()
Returns the selector that identifies the element representing the OK
button (in the month / year picker).
|
String |
monthPickerYearSelector()
Returns the selector that identifies the element representing the year
(in the month / year picker).
|
void |
onMonthButtonTextChange(XElement parent,
String text) |
void |
onMonthPickerSize(XElement monthPicker,
int width,
int height) |
void |
onMonthSelected(Element cell,
boolean select) |
void |
onTextChange(Element cell,
String text) |
void |
onUpdateDateStyle(Element cell,
DatePicker.DateState state,
boolean add) |
void |
onUpdateDayOfWeeks(XElement parent,
List<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,
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. |
String |
rightMonthSelector()
Returns the selector that identifies the element representing the right
month arrow.
|
String |
rightYearSelector()
Returns the selector that identifies the element representing the right
year arrow (in the month / year picker).
|
String |
todayButtonSelector()
Returns the selector that identifies the element representing the today
button.
|
String dateSelector()
String daySelector()
<any> getDateCells(XElement parent)
boolean isDisabled(Element cell)
String leftMonthSelector()
String leftYearSelector()
String monthButtonSelector()
String monthPickerCancelSelector()
String monthPickerMonthSelector()
String monthPickerOkSelector()
String monthPickerYearSelector()
void onMonthPickerSize(XElement monthPicker, int width, int height)
void onMonthSelected(Element cell, boolean select)
void onTextChange(Element cell, String text)
void onUpdateDateStyle(Element cell, DatePicker.DateState state, boolean add)
void render(SafeHtmlBuilder sb)
SafeHtmlBuilder
, suitable for passing to
Element#setInnerHTML(String)
on a container element.sb
- receives the rendered appearancevoid renderMonthPicker(SafeHtmlBuilder sb, DatePicker.DatePickerMessages messages, 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 namesString rightMonthSelector()
String rightYearSelector()
String todayButtonSelector()
Copyright © 2018. All rights reserved.