com.sencha.gxt.widget.core.client.button
Class TextButton

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.sencha.gxt.widget.core.client.Component
              extended by com.sencha.gxt.widget.core.client.cell.CellComponent<C>
                  extended by com.sencha.gxt.widget.core.client.button.CellButtonBase<java.lang.String>
                      extended by com.sencha.gxt.widget.core.client.button.TextButton
All Implemented Interfaces:
Editor<java.lang.String>, LeafValueEditor<java.lang.String>, HasAttachHandlers, HasResizeHandlers, HasValueChangeHandlers<java.lang.String>, HasHandlers, HasSafeHtml, EventListener, TakesValue<java.lang.String>, HasEnabled, HasHTML, HasText, HasValue<java.lang.String>, HasVisibility, IsWidget, HasKeyProvider<java.lang.String>, ArrowSelectEvent.HasArrowSelectHandlers, BeforeHideEvent.HasBeforeHideHandlers, BeforeSelectEvent.HasBeforeSelectHandlers, BeforeShowContextMenuEvent.HasBeforeShowContextMenuHandler, BeforeShowEvent.HasBeforeShowHandlers, BlurEvent.HasBlurHandlers, DisableEvent.HasDisableHandlers, EnableEvent.HasEnableHandlers, FocusEvent.HasFocusHandlers, HideEvent.HasHideHandlers, MoveEvent.HasMoveHandlers, SelectEvent.HasSelectHandlers, ShowContextMenuEvent.HasShowContextMenuHandler, ShowEvent.HasShowHandlers, HasFocusSupport, HasIcon, HasItemId
Direct Known Subclasses:
SplitButton

public class TextButton
extends CellButtonBase<java.lang.String>

A text button.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor
Editor.Ignore, Editor.Path
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
TextButton()
          Creates a new text button.
TextButton(java.lang.String text)
          Creates a new text button.
TextButton(java.lang.String text, ImageResource icon)
          Creates a new text button.
TextButton(java.lang.String text, SelectEvent.SelectHandler handler)
          Creates a new text button.
TextButton(TextButtonCell cell)
          Creates a new text button.
TextButton(TextButtonCell cell, java.lang.String text)
          Creates a new text button.
 
Method Summary
 
Methods inherited from class com.sencha.gxt.widget.core.client.button.CellButtonBase
addArrowSelectHandler, addBeforeSelectHandler, addSelectHandler, getArrowAlign, getHTML, getIcon, getIconAlign, getMenu, getMenuAlign, getMinWidth, getMouseEvents, getScale, getText, hideMenu, onBrowserEvent, setArrowAlign, setHTML, setHTML, setIcon, setIconAlign, setMenu, setMenuAlign, setMinWidth, setMouseEvents, setScale, setText, showMenu
 
Methods inherited from class com.sencha.gxt.widget.core.client.cell.CellComponent
addValueChangeHandler, getCell, getElement, getKeyProvider, getValue, redraw, setValue, setValue, setValue
 
Methods inherited from class com.sencha.gxt.widget.core.client.Component
addBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleOnOver, clearSizeCache, disable, disableEvents, enable, enableEvents, fireEvent, focus, getData, getFocusSupport, getHideMode, getId, getItemId, getOffsetHeight, getOffsetWidth, getShadow, getStateId, getToolTip, hide, hideToolTip, isAllowTextSelection, isAutoHeight, isAutoWidth, isDeferHeight, isEnabled, isRendered, isStateful, isVisible, isVisible, mask, mask, removeToolTip, setAllowTextSelection, setBorders, setBounds, setBounds, setContextMenu, setData, setDeferHeight, setEnabled, setHeight, setHeight, setHideMode, setId, setItemId, setPagePosition, setPixelSize, setPosition, setShadow, setSize, setStateful, setStateId, setTabIndex, setToolTip, setToolTipConfig, setVisible, setWidth, setWidth, show, sync, syncSize, unmask
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

TextButton

public TextButton()
Creates a new text button.


TextButton

public TextButton(java.lang.String text)
Creates a new text button.

Parameters:
text - the button's text

TextButton

public TextButton(TextButtonCell cell,
                  java.lang.String text)
Creates a new text button.

Parameters:
cell - the button cell
text - the button's text

TextButton

public TextButton(java.lang.String text,
                  SelectEvent.SelectHandler handler)
Creates a new text button.

Parameters:
text - the button's text
handler - the select handler

TextButton

public TextButton(java.lang.String text,
                  ImageResource icon)
Creates a new text button.

Parameters:
text - the button's text
icon - the button's icon

TextButton

public TextButton(TextButtonCell cell)
Creates a new text button.

Parameters:
cell - the button's cell


Copyright © 2012. All Rights Reserved.