com.gwtext.client.widgets
Class ToolbarTextItem

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.gwtext.client.widgets.BaseExtWidget
              extended by com.gwtext.client.widgets.ToolbarItem
                  extended by com.gwtext.client.widgets.ToolbarTextItem
All Implemented Interfaces:
com.google.gwt.user.client.EventListener

public class ToolbarTextItem
extends ToolbarItem

A simple class that renders text directly into a toolbar.


Field Summary
 
Fields inherited from class com.gwtext.client.widgets.BaseExtWidget
jsObj
 
Constructor Summary
ToolbarTextItem(java.lang.String text)
          Create a new ToolbarTextItem
 
Method Summary
 java.lang.String getText()
          Return the text.
 void setText(java.lang.String text)
          Sets the toolbar item text
 
Methods inherited from class com.gwtext.client.widgets.ToolbarItem
destroy, disable, enable, focus, getElement, hide, hideRendered, isRendered, setVisible, show
 
Methods inherited from class com.gwtext.client.widgets.BaseExtWidget
equals, getEl, getElement, getJsObj, getOffsetHeight, getOffsetWidth, getTitle, hashCode, isVisible, onAttach, onLoad, purgeListeners, setHeight, setJsObj, setTitle, setWidth, toString
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
doAttachChildren, doDetachChildren, getParent, isAttached, onBrowserEvent, onDetach, onUnload, removeFromParent, setElement
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkEvents, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToolbarTextItem

public ToolbarTextItem(java.lang.String text)
Create a new ToolbarTextItem

Parameters:
text - the text
Method Detail

getText

public java.lang.String getText()
Return the text.

Returns:
the text

setText

public void setText(java.lang.String text)
Sets the toolbar item text

Parameters:
text - the text to set