org.cafesip.gwtcomp.client.ui
Class ButtonPanel
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
org.cafesip.gwtcomp.client.ui.ButtonPanel
- All Implemented Interfaces:
- HasHandlers, EventListener, HasWidgets, IndexedPanel, InsertPanel, Iterable<Widget>
public class ButtonPanel
- extends FlowPanel
A panel for buttons. At the top/bottom of a form (that lets users enter
data), normally a set of buttons are presented to the user to submit, cancel,
etc. This panel serves as a container for the buttons. There is nothing
special about this except that a common set of styles can be applied to the
panel and the buttons. It is used internally by the
WizardPanel,
DataEntryPanel and other widgtes.
CSS Style Rules:
- .gwtcomp-ButtonPanel { } - style for thes panel
- .gwtcomp-Button { } - style for the buttons
- Author:
- Amit Chatterjee
|
Constructor Summary |
ButtonPanel()
A constructor for this class. |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, insert, iterator, remove, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
ButtonPanel
public ButtonPanel()
- A constructor for this class.
addButton
public void addButton(Button button)
- Add a button.
- Parameters:
button - button to add
removeButton
public void removeButton(Button button)
- Remove a button.
- Parameters:
button - button to remove.
Copyright © 2010 Cafesip.org. All Rights Reserved.