|
||||||||||
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.mvc.Controller org.kuali.student.common.ui.client.configurable.mvc.LayoutController org.kuali.student.common.ui.client.configurable.mvc.layouts.BasicLayoutWithContentHeader org.kuali.student.lum.program.client.versions.ProgramVersionsController
public class ProgramVersionsController
Nested Class Summary | |
---|---|
static class |
ProgramVersionsController.Views
|
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 com.google.gwt.event.shared.HandlerManager |
eventBus
|
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.layouts.BasicLayoutWithContentHeader |
---|
header, layout, viewContainer |
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 | |
---|---|
ProgramVersionsController(DataModel dataModel,
ProgramSideBar.Type type,
ViewContext viewContext,
com.google.gwt.event.shared.HandlerManager eventBus)
|
Method Summary | ||
---|---|---|
void |
beforeShow(Callback<Boolean> onReadyCallback)
Default implementation does nothing on before show. |
|
ProgramSideBar.Type |
getType()
|
|
void |
setCurrentTitle(String currentTitle)
|
|
void |
setType(ProgramSideBar.Type type)
|
|
void |
showDefaultView(Callback<Boolean> onReadyCallback)
Shows the default view. |
|
|
showView(V viewType,
Callback<Boolean> onReadyCallback)
Directs the controller to display the specified view. |
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.layouts.BasicLayoutWithContentHeader |
---|
getHeader, hideView, renderView, updateModel |
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.LayoutController |
---|
addStartViewPopup, addView, asWidget, beforeHide, 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 |
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 |
---|
protected com.google.gwt.event.shared.HandlerManager eventBus
Constructor Detail |
---|
public ProgramVersionsController(DataModel dataModel, ProgramSideBar.Type type, ViewContext viewContext, com.google.gwt.event.shared.HandlerManager eventBus)
Method Detail |
---|
public void showDefaultView(Callback<Boolean> onReadyCallback)
Controller
showDefaultView
in class LayoutController
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 <V extends Enum<?>> void showView(V viewType, Callback<Boolean> onReadyCallback)
Controller
public enum SearchViews {
SIMPLE_SEARCH,
ADVANCED_SEARCH,
SEARCH_RESULTS
}
The implementing class must define a getView(V viewType) method that will cast the generic enum to the view
specific enum.
showView
in class Controller
V
- view enum typeviewType
- enum value representing the view to showonReadyCallback
- the callback to invoke when the method has completed executionpublic void setCurrentTitle(String currentTitle)
public ProgramSideBar.Type getType()
public void setType(ProgramSideBar.Type type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |