com.sencha.gxt.widget.core.client
Interface DatePicker.DatePickerAppearance

All Known Implementing Classes:
BlueDatePickerAppearance, DatePickerBaseAppearance
Enclosing class:
DatePicker

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

onUpdateDateStyle

void onUpdateDateStyle(Element cell,
                       DatePicker.DateState state,
                       boolean add)

onTextChange

void onTextChange(Element cell,
                  java.lang.String text)

onMonthSelected

void onMonthSelected(Element cell,
                     boolean select)

onMonthButtonTextChange

void onMonthButtonTextChange(XElement parent,
                             java.lang.String text)

onMonthPickerSize

void onMonthPickerSize(XElement monthPicker,
                       int width,
                       int height)

isDisabled

boolean isDisabled(Element cell)

dateSelector

java.lang.String dateSelector()

getDateCells

NodeList<Element> getDateCells(XElement parent)

onUpdateDayOfWeeks

void onUpdateDayOfWeeks(XElement parent,
                        java.util.List<java.lang.String> values)

daySelector

java.lang.String daySelector()
Returns the selector that identifies the element representing a day.

Returns:
the day selector

leftMonthSelector

java.lang.String leftMonthSelector()
Returns the selector that identifies the element representing the left month arrow.

Returns:
the left month arrow selector

leftYearSelector

java.lang.String leftYearSelector()
Returns the selector that identifies the element representing the left year arrow (in the month / year picker).

Returns:
the left year arrow selector

monthButtonSelector

java.lang.String monthButtonSelector()
Returns the selector that identifies the element representing the month button (for displaying the month / year picker).

Returns:
the month button selector

monthPickerCancelSelector

java.lang.String monthPickerCancelSelector()
Returns the selector that identifies the element representing the month picker cancel button (in the month / year picker).

Returns:
the month pick cancel selector

monthPickerMonthSelector

java.lang.String monthPickerMonthSelector()
Returns the selector that identifies the elements representing the months (in the month / year picker).

Returns:
the month picker month selector

monthPickerOkSelector

java.lang.String monthPickerOkSelector()
Returns the selector that identifies the element representing the OK button (in the month / year picker).

Returns:
the month picker OK selector

monthPickerYearSelector

java.lang.String monthPickerYearSelector()
Returns the selector that identifies the element representing the year (in the month / year picker).

Returns:
the month picker year year selector

render

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.

Parameters:
sb - receives the rendered appearance

renderMonthPicker

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.

Parameters:
sb - receives the rendered appearance
messages - the translatable messages (e.g. for ToolTips)
monthNames - the month names

rightMonthSelector

java.lang.String rightMonthSelector()
Returns the selector that identifies the element representing the right month arrow.

Returns:
the right month arrow selector

rightYearSelector

java.lang.String rightYearSelector()
Returns the selector that identifies the element representing the right year arrow (in the month / year picker).

Returns:
the right year arrow selector

todayButtonSelector

java.lang.String todayButtonSelector()
Returns the selector that identifies the element representing the today button.

Returns:
the today button selector


Copyright © 2012. All Rights Reserved.