|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Composite org.kuali.student.common.ui.client.widgets.buttongroups.ButtonGroup<T>
public abstract class ButtonGroup<T extends ButtonEnumerations.ButtonEnum>
Nested Class Summary |
---|
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 | |
---|---|
protected Map<T,KSButton> |
buttonMap
|
private List<Callback<T>> |
callbacks
|
protected ButtonLayout |
layout
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
ButtonGroup()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addDomHandler, addHandler, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private List<Callback<T extends ButtonEnumerations.ButtonEnum>> callbacks
protected Map<T extends ButtonEnumerations.ButtonEnum,KSButton> buttonMap
protected ButtonLayout layout
Constructor Detail |
---|
public ButtonGroup()
Method Detail |
---|
public void addCallback(Callback<T> callback)
public List<Callback<T>> getCallbacks()
protected void sendCallbacks(T type)
public void setButtonText(T key, String text)
public KSButton getButton(T key)
public void setContent(com.google.gwt.user.client.ui.Widget content)
content
- - the content the button panel will align itself next to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |