public class CourseRequirementsViewController extends BasicLayout
Modifier and Type | Class and Description |
---|---|
static class |
CourseRequirementsViewController.CourseRequirementsViews |
Modifier and Type | Field and Description |
---|---|
static String |
COURSE_PROPOSAL_MODEL |
static String |
COURSE_RULES_MODEL_ID |
defaultView, name, startPopupView, startViewWindow, viewEnumMap, viewMap, viewType
context, NO_OP_CALLBACK, parentController
exportTemplateName
Constructor and Description |
---|
CourseRequirementsViewController(Controller controller,
String name,
Enum<?> viewType,
boolean isReadOnly,
boolean showSaveButtons) |
Modifier and Type | Method and Description |
---|---|
void |
beforeShow(Callback<Boolean> onReadyCallback)
Default implementation does nothing on before show.
|
void |
beforeViewChange(Enum<?> viewChangingTo,
Callback<Boolean> okToChange)
This particular implementation of beforeViewChange checks to see if all its view contains a Controller
and if it does checks with that controller to see if it is ok to change the view.
|
void |
storeRules(Callback<Boolean> callback) |
void |
updateModel()
This version of updateModel only updates from the currentView (since only one view is shown/accessed at a time).
|
hideView, renderView
addStartViewPopup, addView, asWidget, beforeHide, checkForErrors, clear, clearAllWarnings, collectBreadcrumbNames, findParentLayout, getController, getDefaultView, getName, getStartPopup, getStartPopupView, getView, getViewEnum, getViewEnumValue, isExportButtonActive, isStartViewShowing, isValid, isValid, setController, setDefaultView, setName, setViewEnum, showDefaultView, showExport, showFirstView, showStartPopup, showWarnings, updateModelFromCurrentView, updateModelFromView
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
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
showView
collectHistory, onHistoryEvent
public static final String COURSE_RULES_MODEL_ID
public static final String COURSE_PROPOSAL_MODEL
public CourseRequirementsViewController(Controller controller, String name, Enum<?> viewType, boolean isReadOnly, boolean showSaveButtons)
public void updateModel()
BasicLayout
updateModel
in interface View
updateModel
in class BasicLayout
View.updateModel()
public void beforeViewChange(Enum<?> viewChangingTo, Callback<Boolean> okToChange)
LayoutController
beforeViewChange
in class LayoutController
Controller.beforeViewChange(java.lang.Enum, org.kuali.student.common.ui.client.mvc.Callback)
public void beforeShow(Callback<Boolean> onReadyCallback)
LayoutController
beforeShow
in interface View
beforeShow
in class LayoutController
View.beforeShow(org.kuali.student.common.ui.client.mvc.Callback)
public void storeRules(Callback<Boolean> callback)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.