org.exoplatform.gwtframework.ui.client.command.ui
Class TextButtonControl

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.exoplatform.gwtframework.ui.client.component.TextButton
                  extended by org.exoplatform.gwtframework.ui.client.command.ui.TextButtonControl
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, ControlStateListener, StatusTextControlStateListener

public class TextButtonControl
extends TextButton
implements StatusTextControlStateListener

Created by The eXo Platform SAS .

Version:
$
Author:
Vitaliy Gulyy

Nested Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.gwtframework.ui.client.component.TextButton
TextButton.Style, TextButton.TextAlignment
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
TextButtonControl(com.google.gwt.event.shared.HandlerManager eventBus, StatusTextControl statusTextControl, Toolbar toolbar)
           
 
Method Summary
protected  void onAttach()
           
protected  void onDetach()
           
 void updateControlEnabling(boolean enabled)
           
 void updateControlIcon(java.lang.String icon)
           
 void updateControlPrompt(java.lang.String prompt)
           
 void updateControlVisibility(boolean visible)
           
 void updateStatusText(java.lang.String text)
           
 
Methods inherited from class org.exoplatform.gwtframework.ui.client.component.TextButton
getCommand, getText, getTextAlignment, isExecuteCommandOnSingleClick, onMouseClick, onMouseDClick, onMouseDown, onMouseOut, onMouseOver, onMouseUp, setCommand, setExecuteCommandOnSingleClick, setText, setTextAlignment, setTitle, setWidth
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onBrowserEvent, render, render, resolvePotentialElement, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextButtonControl

public TextButtonControl(com.google.gwt.event.shared.HandlerManager eventBus,
                         StatusTextControl statusTextControl,
                         Toolbar toolbar)
Method Detail

onAttach

protected void onAttach()
Overrides:
onAttach in class com.google.gwt.user.client.ui.Composite

onDetach

protected void onDetach()
Overrides:
onDetach in class com.google.gwt.user.client.ui.Composite

updateControlEnabling

public void updateControlEnabling(boolean enabled)
Specified by:
updateControlEnabling in interface ControlStateListener

updateControlVisibility

public void updateControlVisibility(boolean visible)
Specified by:
updateControlVisibility in interface ControlStateListener

updateControlPrompt

public void updateControlPrompt(java.lang.String prompt)
Specified by:
updateControlPrompt in interface ControlStateListener

updateControlIcon

public void updateControlIcon(java.lang.String icon)
Specified by:
updateControlIcon in interface ControlStateListener

updateStatusText

public void updateStatusText(java.lang.String text)
Specified by:
updateStatusText in interface StatusTextControlStateListener


Copyright © 2012 eXo Platform SAS. All Rights Reserved.