net.pleso.framework.client.ui.custom.controls.data
Class ActionButtonControl

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 net.pleso.framework.client.ui.custom.controls.data.BaseActionControl
                  extended by net.pleso.framework.client.ui.custom.controls.data.ActionButtonControl
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.ClickListener, HideWindowListener, IBindableDataControl

public class ActionButtonControl
extends BaseActionControl
implements com.google.gwt.user.client.ui.ClickListener, IBindableDataControl

Action button control which wraps IActionProvider action and binds its execution to button click event.


Constructor Summary
ActionButtonControl(IWindow parentWindow, IActionProvider actionProvider, IUpdateControlListener updateControlListener)
          Constructs new ActionButtonControl widget with specified parameters.
 
Method Summary
 void onClick(com.google.gwt.user.client.ui.Widget sender)
           
 
Methods inherited from class net.pleso.framework.client.ui.custom.controls.data.BaseActionControl
bind, isAuth, onHideWindow, readData
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getElement
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onBrowserEvent, removeFromParent
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleName, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, isVisible, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.pleso.framework.client.ui.interfaces.IBindableDataControl
readData
 

Constructor Detail

ActionButtonControl

public ActionButtonControl(IWindow parentWindow,
                           IActionProvider actionProvider,
                           IUpdateControlListener updateControlListener)
Constructs new ActionButtonControl widget with specified parameters.

Parameters:
parentWindow - parent window for widget
actionProvider - provider of actions
updateControlListener - listener for update control event
Method Detail

onClick

public void onClick(com.google.gwt.user.client.ui.Widget sender)
Specified by:
onClick in interface com.google.gwt.user.client.ui.ClickListener


Copyright © 2006-2007 pleso.net crew All Rights Reserved.