com.extjs.gxt.ui.client.widget
Class DatePicker.DatePickerMessages

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.DatePicker.DatePickerMessages
Enclosing class:
DatePicker

public class DatePicker.DatePickerMessages
extends java.lang.Object

DatePicker messages.


Constructor Summary
DatePicker.DatePickerMessages()
           
 
Method Summary
 java.lang.String getCancelText()
          Sets the text to display on the cancel button.
 java.lang.String getMaxText()
          Returns the max text.
 java.lang.String getMinText()
          Returns the min text.
 java.lang.String getMonthYearText()
          Returns the month year text.
 java.lang.String getNextText()
          Returns the next text.
 java.lang.String getOkText()
          Returns the ok text.
 java.lang.String getPrevText()
          Returns the prev text.
 java.lang.String getTodayText()
          Returns the today text.
 java.lang.String getTodayTip()
          Returns the today tip.
 void setCancelText(java.lang.String cancelText)
          Sets the cance text (default to "Cancel").
 void setMaxText(java.lang.String maxText)
          Sets the error text to display if the maxDate validation fails (defaults to "This date is after the maximum date").
 void setMinText(java.lang.String minText)
          Sets the error text to display if the minDate validation fails (defaults to "This date is before the minimum date").
 void setMonthYearText(java.lang.String monthYearText)
          Sets the header month selector tooltip (defaults to 'Choose a month (Control+Up/Down to move years)').
 void setNextText(java.lang.String nextText)
          Sets the next month navigation button tooltip (defaults to 'Next Month (Control+Right)').
 void setOkText(java.lang.String okText)
          Sets the text to display on the ok button.
 void setPrevText(java.lang.String prevText)
          Sets the previous month navigation button tooltip (defaults to 'Previous Month (Control+Left)').
 void setTodayText(java.lang.String todayText)
          Sets the text to display on the button that selects the current date (defaults to "Today").
 void setTodayTip(java.lang.String todayTip)
          Sets the tooltip to display for the button that selects the current date (defaults to "{current date} (Spacebar)").
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatePicker.DatePickerMessages

public DatePicker.DatePickerMessages()
Method Detail

getCancelText

public java.lang.String getCancelText()
Sets the text to display on the cancel button.

Returns:
the cancel button text

getMaxText

public java.lang.String getMaxText()
Returns the max text.

Returns:
the max text

getMinText

public java.lang.String getMinText()
Returns the min text.

Returns:
the min text

getMonthYearText

public java.lang.String getMonthYearText()
Returns the month year text.

Returns:
the month year text

getNextText

public java.lang.String getNextText()
Returns the next text.

Returns:
the next text

getOkText

public java.lang.String getOkText()
Returns the ok text.

Returns:
the ok text

getPrevText

public java.lang.String getPrevText()
Returns the prev text.

Returns:
the prev text

getTodayText

public java.lang.String getTodayText()
Returns the today text.

Returns:
the today text

getTodayTip

public java.lang.String getTodayTip()
Returns the today tip.

Returns:
the tip

setCancelText

public void setCancelText(java.lang.String cancelText)
Sets the cance text (default to "Cancel").

Parameters:
cancelText - the cancel text

setMaxText

public void setMaxText(java.lang.String maxText)
Sets the error text to display if the maxDate validation fails (defaults to "This date is after the maximum date").

Parameters:
maxText - the max error text

setMinText

public void setMinText(java.lang.String minText)
Sets the error text to display if the minDate validation fails (defaults to "This date is before the minimum date").

Parameters:
minText - the minimum error text

setMonthYearText

public void setMonthYearText(java.lang.String monthYearText)
Sets the header month selector tooltip (defaults to 'Choose a month (Control+Up/Down to move years)').

Parameters:
monthYearText - the month year text

setNextText

public void setNextText(java.lang.String nextText)
Sets the next month navigation button tooltip (defaults to 'Next Month (Control+Right)').

Parameters:
nextText - the next text

setOkText

public void setOkText(java.lang.String okText)
Sets the text to display on the ok button.

Parameters:
okText - the ok text

setPrevText

public void setPrevText(java.lang.String prevText)
Sets the previous month navigation button tooltip (defaults to 'Previous Month (Control+Left)').

Parameters:
prevText - the previous text

setTodayText

public void setTodayText(java.lang.String todayText)
Sets the text to display on the button that selects the current date (defaults to "Today").

Parameters:
todayText - the today text

setTodayTip

public void setTodayTip(java.lang.String todayTip)
Sets the tooltip to display for the button that selects the current date (defaults to "{current date} (Spacebar)").

Parameters:
todayTip - the today tool tip