com.extjs.gxt.ui.client.widget.toolbar
Class PagingToolBar.PagingToolBarMessages

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.toolbar.PagingToolBar.PagingToolBarMessages
Enclosing class:
PagingToolBar

public static class PagingToolBar.PagingToolBarMessages
extends java.lang.Object

PagingToolBar messages.


Constructor Summary
PagingToolBar.PagingToolBarMessages()
           
 
Method Summary
 java.lang.String getAfterPageText()
          Returns the after page text.
 java.lang.String getBeforePageText()
          Returns the before page text.
 java.lang.String getDisplayMsg()
          Returns the display message.
 java.lang.String getEmptyMsg()
          Returns the empty message.
 java.lang.String getFirstText()
           
 java.lang.String getLastText()
          Returns the last text.
 java.lang.String getNextText()
          Returns the next text.
 java.lang.String getPrevText()
          Returns the previous text.
 java.lang.String getRefreshText()
          Returns the refresh text.
 void setAfterPageText(java.lang.String afterPageText)
          Customizable piece of the default paging text (defaults to "of {0}").
 void setBeforePageText(java.lang.String beforePageText)
          Customizable piece of the default paging text (defaults to "Page").
 void setDisplayMsg(java.lang.String displayMsg)
          The paging status message to display (defaults to "Displaying {0} - {1} of {2}").
 void setEmptyMsg(java.lang.String emptyMsg)
          The message to display when no records are found (defaults to "No data to display").
 void setFirstText(java.lang.String firstText)
          Customizable piece of the default paging text (defaults to "First Page").
 void setLastText(java.lang.String lastText)
          Customizable piece of the default paging text (defaults to "Last Page").
 void setNextText(java.lang.String nextText)
          Customizable piece of the default paging text (defaults to "Next Page").
 void setPrevText(java.lang.String prevText)
          Customizable piece of the default paging text (defaults to "Previous Page").
 void setRefreshText(java.lang.String refreshText)
          Customizable piece of the default paging text (defaults to "Refresh").
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagingToolBar.PagingToolBarMessages

public PagingToolBar.PagingToolBarMessages()
Method Detail

getAfterPageText

public java.lang.String getAfterPageText()
Returns the after page text.

Returns:
the after page text

getBeforePageText

public java.lang.String getBeforePageText()
Returns the before page text.

Returns:
the before page text

getDisplayMsg

public java.lang.String getDisplayMsg()
Returns the display message.

Returns:
the display message.

getEmptyMsg

public java.lang.String getEmptyMsg()
Returns the empty message.

Returns:
the empty message

getFirstText

public java.lang.String getFirstText()

getLastText

public java.lang.String getLastText()
Returns the last text.

Returns:
the last text

getNextText

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

Returns:
the next ext

getPrevText

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

Returns:
the previous text

getRefreshText

public java.lang.String getRefreshText()
Returns the refresh text.

Returns:
the refresh text

setAfterPageText

public void setAfterPageText(java.lang.String afterPageText)
Customizable piece of the default paging text (defaults to "of {0}").

Parameters:
afterPageText - the after page text

setBeforePageText

public void setBeforePageText(java.lang.String beforePageText)
Customizable piece of the default paging text (defaults to "Page").

Parameters:
beforePageText - the before page text

setDisplayMsg

public void setDisplayMsg(java.lang.String displayMsg)
The paging status message to display (defaults to "Displaying {0} - {1} of {2}"). Note that this string is formatted using the braced numbers 0-2 as tokens that are replaced by the values for start, end and total respectively. These tokens should be preserved when overriding this string if showing those values is desired.

Parameters:
displayMsg - the display message

setEmptyMsg

public void setEmptyMsg(java.lang.String emptyMsg)
The message to display when no records are found (defaults to "No data to display").

Parameters:
emptyMsg - the empty message

setFirstText

public void setFirstText(java.lang.String firstText)
Customizable piece of the default paging text (defaults to "First Page").

Parameters:
firstText - the first text

setLastText

public void setLastText(java.lang.String lastText)
Customizable piece of the default paging text (defaults to "Last Page").

Parameters:
lastText - the last text

setNextText

public void setNextText(java.lang.String nextText)
Customizable piece of the default paging text (defaults to "Next Page").

Parameters:
nextText - the next text

setPrevText

public void setPrevText(java.lang.String prevText)
Customizable piece of the default paging text (defaults to "Previous Page").

Parameters:
prevText - the prev text

setRefreshText

public void setRefreshText(java.lang.String refreshText)
Customizable piece of the default paging text (defaults to "Refresh").

Parameters:
refreshText - the refresh text