org.kuali.student.lum.lu.ui.main.client.controllers
Class ApplicationController

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.mvc.Controller
                  extended by org.kuali.student.common.ui.client.configurable.mvc.LayoutController
                      extended by org.kuali.student.lum.lu.ui.main.client.controllers.ApplicationController
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, ViewLayoutController, BreadcrumbSupport, HistorySupport, View, ReportExport

public class ApplicationController
extends LayoutController

The top level application controller for the LUM application. All other views are part of this controller or its children. This controller provides the very basic layout of the app and includes the header and the main content panel. The header stays in the same location for all screens of KS.
This controller contains one child view, the home view (HomeController).

Author:
Kuali Student Team
See Also:
HomeController, LUMMainEntryPoint

Nested Class Summary
static class ApplicationController.AppViews
           
 
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
 com.google.gwt.user.client.ui.FlowPanel container
           
static com.google.gwt.user.client.ui.FlowPanel contentPanel
           
 
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.LayoutController
defaultView, name, startPopupView, startViewWindow, viewEnumMap, viewMap, viewType
 
Fields inherited from class org.kuali.student.common.ui.client.mvc.Controller
context, NO_OP_CALLBACK, parentController
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Fields inherited from interface org.kuali.student.common.ui.client.reporting.ReportExport
exportTemplateName
 
Constructor Summary
ApplicationController(String controllerId, com.google.gwt.user.client.ui.Widget header)
           
 
Method Summary
private  void addHandlers()
           
static com.google.gwt.user.client.ui.ComplexPanel getApplicationViewContainer()
           
protected  void hideView(View view)
          Must be implemented by the subclass to hide the view.
private  void init(com.google.gwt.user.client.ui.Widget header)
           
protected  void renderView(View view)
          Must be implemented by the subclass to render the view.
private  void setupViews()
           
 void showDefaultView(Callback<Boolean> onReadyCallback)
          Shows the default view.
 void updateModel()
          Updates the model with information from this view.
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.LayoutController
addStartViewPopup, addView, asWidget, beforeHide, beforeShow, beforeViewChange, checkForErrors, clear, clearAllWarnings, collectBreadcrumbNames, findParentLayout, getController, getDefaultView, getName, getStartPopup, getStartPopupView, getView, getViewEnum, getViewEnumValue, isExportButtonActive, isStartViewShowing, isValid, isValid, setController, setDefaultView, setName, setViewEnum, showExport, showFirstView, showStartPopup, showWarnings, updateModelFromCurrentView, updateModelFromView
 
Methods inherited from class org.kuali.student.common.ui.client.mvc.Controller
addApplicationEventHandler, collectHistory, doReportExport, findController, fireApplicationEvent, fireNavigationEvent, getCurrentView, getCurrentViewEnum, getDefaultModelId, getExportDataModel, getExportElementsFromView, getExportTemplateName, getHistoryToken, getParentController, getView, getViewContext, onHistoryEvent, registerModel, requestModel, requestModel, requestModel, resetCurrentView, setCurrentViewEnum, setDefaultModelId, setParentController, setViewContext, showView, showView
 
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, asWidgetOrNull, createHandlerManager, 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, 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
 
Methods inherited from interface org.kuali.student.common.ui.client.configurable.mvc.layouts.ViewLayoutController
showView
 
Methods inherited from interface org.kuali.student.common.ui.client.mvc.history.HistorySupport
collectHistory, onHistoryEvent
 

Field Detail

contentPanel

public static com.google.gwt.user.client.ui.FlowPanel contentPanel

container

public com.google.gwt.user.client.ui.FlowPanel container
Constructor Detail

ApplicationController

public ApplicationController(String controllerId,
                             com.google.gwt.user.client.ui.Widget header)
Method Detail

init

private void init(com.google.gwt.user.client.ui.Widget header)

addHandlers

private void addHandlers()

setupViews

private void setupViews()

updateModel

public void updateModel()
Description copied from interface: View
Updates the model with information from this view. If this view does not need to update the model leave this method empty.

Specified by:
updateModel in interface View
Specified by:
updateModel in class LayoutController
See Also:
View.updateModel()

hideView

protected void hideView(View view)
Description copied from class: Controller
Must be implemented by the subclass to hide the view.

Specified by:
hideView in class Controller

renderView

protected void renderView(View view)
Description copied from class: Controller
Must be implemented by the subclass to render the view.

Specified by:
renderView in class Controller

getApplicationViewContainer

public static com.google.gwt.user.client.ui.ComplexPanel getApplicationViewContainer()

showDefaultView

public void showDefaultView(Callback<Boolean> onReadyCallback)
Description copied from class: Controller
Shows the default view. Must be implemented by subclass, in order to define the default view.

Overrides:
showDefaultView in class LayoutController


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