|
||||||||||
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.ViewComposite org.kuali.student.common.ui.client.mvc.DelegatingViewComposite
public class DelegatingViewComposite
This is a simple view composite that delegates all view operations to nested controller. Use of this view allows you to nest controllers in the view hierarchy.
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 | |
---|---|
(package private) Controller |
childController
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
DelegatingViewComposite(Controller parentController,
Controller childController,
Enum<?> viewType)
|
Method Summary | |
---|---|
boolean |
beforeHide()
Delegates beforeHide to the nested controllers current view |
void |
beforeShow(Callback<Boolean> onReadyCallback)
Called by controller before the view is displayed to allow lazy initialization or any other preparatory work to be done. |
void |
checkAuthorization(PermissionType permissionType,
AuthorizationCallback callback)
|
void |
clear()
Used to clear view |
void |
collectBreadcrumbNames(List<String> names)
|
String |
collectHistory(String historyStack)
|
Controller |
getChildController()
|
boolean |
isAuthorizationRequired()
|
void |
onHistoryEvent(String historyStack)
|
void |
setAuthorizationRequired(boolean required)
|
void |
setChildController(Controller controller)
|
Methods inherited from class org.kuali.student.common.ui.client.mvc.ViewComposite |
---|
asWidget, getController, getName, getViewEnum, updateModel |
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 |
---|
Controller childController
Constructor Detail |
---|
public DelegatingViewComposite(Controller parentController, Controller childController, Enum<?> viewType)
controller
- name
- Method Detail |
---|
public boolean beforeHide()
beforeHide
in interface View
beforeHide
in class ViewComposite
View.beforeHide()
public void beforeShow(Callback<Boolean> onReadyCallback)
ViewComposite
beforeShow
in interface View
beforeShow
in class ViewComposite
org.kuali.student.common.ui.client.mvc.View#beforeShow()
public Controller getChildController()
public void setChildController(Controller controller)
public String collectHistory(String historyStack)
collectHistory
in interface HistorySupport
collectHistory
in class ViewComposite
public void onHistoryEvent(String historyStack)
onHistoryEvent
in interface HistorySupport
onHistoryEvent
in class ViewComposite
public void clear()
ViewComposite
clear
in interface View
clear
in class ViewComposite
View.clear()
public void checkAuthorization(PermissionType permissionType, AuthorizationCallback callback)
checkAuthorization
in interface RequiresAuthorization
public boolean isAuthorizationRequired()
isAuthorizationRequired
in interface RequiresAuthorization
public void setAuthorizationRequired(boolean required)
setAuthorizationRequired
in interface RequiresAuthorization
public void collectBreadcrumbNames(List<String> names)
collectBreadcrumbNames
in interface BreadcrumbSupport
collectBreadcrumbNames
in class ViewComposite
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |