public class BlueDatePickerAppearance extends Object implements DatePicker.DatePickerAppearance
| Modifier and Type | Class and Description |
|---|---|
static interface |
BlueDatePickerAppearance.BlueDatePickerResources |
static interface |
BlueDatePickerAppearance.BlueDatePickerStyle |
| Constructor and Description |
|---|
BlueDatePickerAppearance() |
BlueDatePickerAppearance(BlueDatePickerAppearance.BlueDatePickerResources resources) |
| Modifier and Type | Method and Description |
|---|---|
String |
activeDayClass()
Returns the class name to be used for the element representing the active
day.
|
String |
activeDaySelector()
Returns the selector that identifies the element representing the active
day.
|
String |
dayCellSelector()
Returns the selector that identifies the elements representing the days.
|
String |
dayDisabledClass()
Returns the class name to be used for the element representing disabled
days (e.g.
|
String |
dayHoverClass()
Returns the class name to be used for the element the cursor is currently
over.
|
String |
dayOfWeekSelector()
Returns the selector that identifies the element representing the day of
week.
|
String |
daySelector()
Returns the selector that identifies the element representing a day.
|
String |
dayTextSelector()
Returns the selector that identifies elements containing the (e.g.
|
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 |
monthButtonTextSelector()
Returns the selector that identifies the element representing the month
text (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).
|
String |
monthSelectedClass()
Returns the class name to be used for the element representing the
selected month and year (in the month / year picker).
|
String |
nextDayClass()
Returns the class name to be used for the element representing days in
the next month (displayed at the end of this month's calendar).
|
String |
nextDaySelector()
Returns the selector that identifies the elements representing the days
in the next month (displayed at the end of this month's calendar).
|
String |
prevDayClass()
Returns the class name to be used for the element representing days in
the previous month (displayed at the beginning of this month's calendar).
|
String |
prevDaySelector()
Returns the selector that identifies the elements representing the days
in the previous month (displayed at the beginning of this month's
calendar).
|
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 |
selectedClass()
Returns the class name to be used for the element representing the
selected day.
|
String |
todayButtonSelector()
Returns the selector that identifies the element representing the today
button.
|
String |
todayClass()
Returns the class name to be used for the element representing the
current day.
|
public BlueDatePickerAppearance()
public BlueDatePickerAppearance(BlueDatePickerAppearance.BlueDatePickerResources resources)
public String activeDayClass()
DatePicker.DatePickerAppearanceactiveDayClass in interface DatePicker.DatePickerAppearancepublic String activeDaySelector()
DatePicker.DatePickerAppearanceactiveDaySelector in interface DatePicker.DatePickerAppearancepublic String dayCellSelector()
DatePicker.DatePickerAppearancedayCellSelector in interface DatePicker.DatePickerAppearancepublic String dayDisabledClass()
DatePicker.DatePickerAppearanceDatePicker.setMinDate(Date) or after
DatePicker.setMaxDate(Date)).dayDisabledClass in interface DatePicker.DatePickerAppearancepublic String dayHoverClass()
DatePicker.DatePickerAppearancedayHoverClass in interface DatePicker.DatePickerAppearancepublic String dayOfWeekSelector()
DatePicker.DatePickerAppearancedayOfWeekSelector in interface DatePicker.DatePickerAppearancepublic String daySelector()
DatePicker.DatePickerAppearancedaySelector in interface DatePicker.DatePickerAppearancepublic String dayTextSelector()
DatePicker.DatePickerAppearancedayTextSelector in interface DatePicker.DatePickerAppearancepublic String leftMonthSelector()
DatePicker.DatePickerAppearanceleftMonthSelector in interface DatePicker.DatePickerAppearancepublic String leftYearSelector()
DatePicker.DatePickerAppearanceleftYearSelector in interface DatePicker.DatePickerAppearancepublic String monthButtonSelector()
DatePicker.DatePickerAppearancemonthButtonSelector in interface DatePicker.DatePickerAppearancepublic String monthButtonTextSelector()
DatePicker.DatePickerAppearancemonthButtonTextSelector in interface DatePicker.DatePickerAppearancepublic String monthPickerCancelSelector()
DatePicker.DatePickerAppearancemonthPickerCancelSelector in interface DatePicker.DatePickerAppearancepublic String monthPickerMonthSelector()
DatePicker.DatePickerAppearancemonthPickerMonthSelector in interface DatePicker.DatePickerAppearancepublic String monthPickerOkSelector()
DatePicker.DatePickerAppearancemonthPickerOkSelector in interface DatePicker.DatePickerAppearancepublic String monthPickerYearSelector()
DatePicker.DatePickerAppearancemonthPickerYearSelector in interface DatePicker.DatePickerAppearancepublic String monthSelectedClass()
DatePicker.DatePickerAppearancemonthSelectedClass in interface DatePicker.DatePickerAppearancepublic String nextDayClass()
DatePicker.DatePickerAppearancenextDayClass in interface DatePicker.DatePickerAppearancepublic String nextDaySelector()
DatePicker.DatePickerAppearancenextDaySelector in interface DatePicker.DatePickerAppearancepublic String prevDayClass()
DatePicker.DatePickerAppearanceprevDayClass in interface DatePicker.DatePickerAppearancepublic String prevDaySelector()
DatePicker.DatePickerAppearanceprevDaySelector in interface DatePicker.DatePickerAppearancepublic void render(SafeHtmlBuilder sb)
DatePicker.DatePickerAppearanceSafeHtmlBuilder, suitable for passing to
Element.setInnerHTML(String) on a container element.render in interface DatePicker.DatePickerAppearancesb - receives the rendered appearancepublic void renderMonthPicker(SafeHtmlBuilder sb, DatePicker.DatePickerMessages messages, String[] monthNames)
DatePicker.DatePickerAppearanceSafeHtmlBuilder, suitable for passing to
Element.setInnerHTML(String) on a container element.renderMonthPicker in interface DatePicker.DatePickerAppearancesb - receives the rendered appearancemessages - the translatable messages (e.g. for ToolTips)monthNames - the month namespublic String rightMonthSelector()
DatePicker.DatePickerAppearancerightMonthSelector in interface DatePicker.DatePickerAppearancepublic String rightYearSelector()
DatePicker.DatePickerAppearancerightYearSelector in interface DatePicker.DatePickerAppearancepublic String selectedClass()
DatePicker.DatePickerAppearanceselectedClass in interface DatePicker.DatePickerAppearancepublic String todayButtonSelector()
DatePicker.DatePickerAppearancetodayButtonSelector in interface DatePicker.DatePickerAppearancepublic String todayClass()
DatePicker.DatePickerAppearancetodayClass in interface DatePicker.DatePickerAppearanceCopyright © 2012. All Rights Reserved.