org.kuali.student.lum.program.client.widgets
Class SummaryActionPanel

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.lum.program.client.widgets.SummaryActionPanel
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener

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

Author:
Igor

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  KSButton activateButton
           
private  KSLightBox activateDialog
           
private  Section activateSection
           
private  KSButton approveButton
           
private  com.google.gwt.user.client.ui.HorizontalPanel content
           
private  DataModel dataModel
           
private  com.google.gwt.event.shared.HandlerManager eventBus
           
private  com.google.gwt.user.client.ui.Anchor exitAnchor
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
SummaryActionPanel(Section activateSection, com.google.gwt.event.shared.HandlerManager eventBus)
           
 
Method Summary
private  void bind()
           
private  void buildActivateDialog()
           
private  void buildLayout()
           
private  void enableButtons(boolean enableApprove, boolean enableActivate)
           
private  void processActivateClick()
           
private  void processButtonClick(ProgramStatus status)
           
private  void processStatus()
           
private  void processStatus(ProgramStatus programStatus)
           
private  void setStyles()
           
 
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

content

private final com.google.gwt.user.client.ui.HorizontalPanel content

approveButton

private final KSButton approveButton

activateButton

private final KSButton activateButton

exitAnchor

private final com.google.gwt.user.client.ui.Anchor exitAnchor

activateDialog

private final KSLightBox activateDialog

activateSection

private Section activateSection

dataModel

private DataModel dataModel

eventBus

private com.google.gwt.event.shared.HandlerManager eventBus
Constructor Detail

SummaryActionPanel

public SummaryActionPanel(Section activateSection,
                          com.google.gwt.event.shared.HandlerManager eventBus)
Method Detail

bind

private void bind()

processStatus

private void processStatus()

processButtonClick

private void processButtonClick(ProgramStatus status)

processActivateClick

private void processActivateClick()

processStatus

private void processStatus(ProgramStatus programStatus)

setStyles

private void setStyles()

buildLayout

private void buildLayout()

buildActivateDialog

private void buildActivateDialog()

enableButtons

private void enableButtons(boolean enableApprove,
                           boolean enableActivate)


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