public abstract class ButtonGroup<T extends ButtonEnumerations.ButtonEnum> extends com.google.gwt.user.client.ui.Composite
Modifier and Type | Field and Description |
---|---|
protected Map<T,KSButton> |
buttonMap |
protected ButtonLayout |
layout |
Constructor and Description |
---|
ButtonGroup() |
Modifier and Type | Method and Description |
---|---|
void |
addCallback(Callback<T> callback) |
KSButton |
getButton(T key) |
List<Callback<T>> |
getCallbacks() |
protected void |
sendCallbacks(T type) |
void |
setButtonText(T key,
String text) |
void |
setContent(com.google.gwt.user.client.ui.Widget content)
This method is optional, the button panel can be contained inside of a parent panel which
will limit it's maximum size.
|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
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, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
protected Map<T extends ButtonEnumerations.ButtonEnum,KSButton> buttonMap
protected ButtonLayout layout
public ButtonGroup()
public void addCallback(Callback<T> callback)
public List<Callback<T>> getCallbacks()
protected void sendCallbacks(T type)
public void setButtonText(T key, String text)
public void setContent(com.google.gwt.user.client.ui.Widget content)
content
- - the content the button panel will align itself next toCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.