|
||||||||||
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.Panel com.google.gwt.user.client.ui.SimplePanel com.google.gwt.user.client.ui.LazyPanel org.kuali.student.common.ui.client.configurable.mvc.DelayedToolView
public abstract class DelayedToolView
A view that delays its generation until it requested to be shown.
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 |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Field Summary |
---|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
DelayedToolView(Controller controller,
Enum<?> viewEnum,
String viewName)
|
|
DelayedToolView(Enum<?> viewEnum,
String viewName)
|
Method Summary | |
---|---|
com.google.gwt.user.client.ui.Widget |
asWidget()
Get the attachable widget which represents this view |
boolean |
beforeHide()
Called by the controller before the view is hidden to allow the view to perform cleanup or request confirmation from the user, etc. |
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 |
collectBreadcrumbNames(List<String> names)
Adds a human readable name(s) to the list passed in for use in the breadcrumb |
String |
collectHistory(String historyStack)
|
protected com.google.gwt.user.client.ui.Widget |
createWidget()
|
Controller |
getController()
Returns the controller associated with the view |
String |
getName()
Returns the view's name |
Enum<?> |
getViewEnum()
|
boolean |
isExportButtonActive()
This method needs to be implemented only on views that want the export button to display. |
void |
onHistoryEvent(String historyStack)
|
void |
setController(Controller controller)
|
void |
updateModel()
Updates the model with information from this view. |
Methods inherited from class com.google.gwt.user.client.ui.LazyPanel |
---|
ensureWidget, setVisible |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
---|
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, 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.ToolView |
---|
getImage |
Methods inherited from interface org.kuali.student.common.ui.client.mvc.View |
---|
clear, showExport |
Constructor Detail |
---|
public DelayedToolView(Controller controller, Enum<?> viewEnum, String viewName)
controller
- name
- public DelayedToolView(Enum<?> viewEnum, String viewName)
Method Detail |
---|
public void beforeShow(Callback<Boolean> onReadyCallback)
View
beforeShow
in interface View
public boolean beforeHide()
View
beforeHide
in interface View
View.beforeHide()
public Controller getController()
View
getController
in interface View
View.getController()
public String getName()
View
getName
in interface View
View.getName()
public Enum<?> getViewEnum()
getViewEnum
in interface ToolView
getViewEnum
in interface View
public void updateModel()
View
updateModel
in interface View
View.updateModel()
public void setController(Controller controller)
setController
in interface ToolView
public com.google.gwt.user.client.ui.Widget asWidget()
View
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
asWidget
in interface View
asWidget
in class com.google.gwt.user.client.ui.Widget
SectionView
public String collectHistory(String historyStack)
collectHistory
in interface HistorySupport
protected com.google.gwt.user.client.ui.Widget createWidget()
createWidget
in class com.google.gwt.user.client.ui.LazyPanel
public void onHistoryEvent(String historyStack)
onHistoryEvent
in interface HistorySupport
public void collectBreadcrumbNames(List<String> names)
BreadcrumbSupport
collectBreadcrumbNames
in interface BreadcrumbSupport
public boolean isExportButtonActive()
View
isExportButtonActive
in interface View
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |