net.pleso.framework.client.ui.custom.controls
Class ActionButtonPanel

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.ActionButtonPanel
All Implemented Interfaces:
com.google.gwt.user.client.EventListener

public class ActionButtonPanel
extends com.google.gwt.user.client.ui.Composite

Panel with buttons and ActionButtonControl instances. Visible if buttons was added

CSS Style Rules


Constructor Summary
ActionButtonPanel(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant align)
          Constructor
 
Method Summary
 void add(ActionButtonControl button)
           
 void add(com.google.gwt.user.client.ui.Button button)
           
 void clear()
          Removes all buttons
 void setButtonsAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant align)
          Sets the default horizontal alignment to be used for buttons added to this panel.
 
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
 

Constructor Detail

ActionButtonPanel

public ActionButtonPanel(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant align)
Constructor

Parameters:
align - default horizontal alignment to be used for buttons added to this panel.
Method Detail

clear

public void clear()
Removes all buttons


setButtonsAlignment

public void setButtonsAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant align)
Sets the default horizontal alignment to be used for buttons added to this panel.

See Also:
HasHorizontalAlignment.setHorizontalAlignment(HasHorizontalAlignment.HorizontalAlignmentConstant)

add

public void add(com.google.gwt.user.client.ui.Button button)

add

public void add(ActionButtonControl button)


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