org.kuali.student.common.ui.client.widgets.buttonlayout
Class ButtonRow

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 org.kuali.student.common.ui.client.widgets.buttonlayout.ButtonLayout
                  extended by org.kuali.student.common.ui.client.widgets.buttonlayout.ButtonLayoutTwoGroups
                      extended by org.kuali.student.common.ui.client.widgets.buttonlayout.ButtonRow
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget

public class ButtonRow
extends ButtonLayoutTwoGroups


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
private  com.google.gwt.user.client.ui.Widget content
           
private  com.google.gwt.user.client.ui.SimplePanel contentPanel
           
private  com.google.gwt.user.client.ui.HorizontalPanel leftPanel
           
private  com.google.gwt.user.client.ui.DockPanel mainPanel
           
private  com.google.gwt.user.client.ui.HorizontalPanel rightPanel
           
 
Fields inherited from class org.kuali.student.common.ui.client.widgets.buttonlayout.ButtonLayout
buttons
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ButtonRow()
           
ButtonRow(boolean contentBottom)
           
 
Method Summary
 void addButton(KSButton button)
           
 void addButtonToPrimaryGroup(KSButton button)
           
 void addButtonToSecondaryGroup(KSButton button)
           
protected  void onLoad()
           
 void setContent(com.google.gwt.user.client.ui.Widget w)
           
private  void setupDefaultStyles()
           
 
Methods inherited from class org.kuali.student.common.ui.client.widgets.buttonlayout.ButtonLayout
getButtons
 
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
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, 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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

leftPanel

private com.google.gwt.user.client.ui.HorizontalPanel leftPanel

rightPanel

private com.google.gwt.user.client.ui.HorizontalPanel rightPanel

contentPanel

private com.google.gwt.user.client.ui.SimplePanel contentPanel

mainPanel

private com.google.gwt.user.client.ui.DockPanel mainPanel

content

private com.google.gwt.user.client.ui.Widget content
Constructor Detail

ButtonRow

public ButtonRow()

ButtonRow

public ButtonRow(boolean contentBottom)
Method Detail

onLoad

protected void onLoad()
Overrides:
onLoad in class com.google.gwt.user.client.ui.Widget

setupDefaultStyles

private void setupDefaultStyles()

setContent

public void setContent(com.google.gwt.user.client.ui.Widget w)
Specified by:
setContent in class ButtonLayout

addButtonToPrimaryGroup

public void addButtonToPrimaryGroup(KSButton button)
Specified by:
addButtonToPrimaryGroup in class ButtonLayoutTwoGroups

addButtonToSecondaryGroup

public void addButtonToSecondaryGroup(KSButton button)
Specified by:
addButtonToSecondaryGroup in class ButtonLayoutTwoGroups

addButton

public void addButton(KSButton button)
Specified by:
addButton in class ButtonLayout


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.