public abstract class DelayedToolView extends com.google.gwt.user.client.ui.LazyPanel implements ToolView
| Constructor and Description |
|---|
DelayedToolView(Controller controller,
Enum<?> viewEnum,
String viewName) |
DelayedToolView(Enum<?> viewEnum,
String viewName) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidgetadd, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetImageclear, showExportpublic DelayedToolView(Controller controller, Enum<?> viewEnum, String viewName)
controller - name - public DelayedToolView(Enum<?> viewEnum, String viewName)
public void beforeShow(Callback<Boolean> onReadyCallback)
ViewbeforeShow in interface Viewpublic boolean beforeHide()
ViewbeforeHide in interface ViewView.beforeHide()public Controller getController()
ViewgetController in interface ViewView.getController()public String getName()
ViewgetName in interface ViewView.getName()public Enum<?> getViewEnum()
getViewEnum in interface ToolViewgetViewEnum in interface Viewpublic void updateModel()
ViewupdateModel in interface ViewView.updateModel()public void setController(Controller controller)
setController in interface ToolViewpublic com.google.gwt.user.client.ui.Widget asWidget()
ViewasWidget in interface com.google.gwt.user.client.ui.IsWidgetasWidget in interface ViewasWidget in class com.google.gwt.user.client.ui.WidgetSectionViewpublic String collectHistory(String historyStack)
collectHistory in interface HistorySupportprotected com.google.gwt.user.client.ui.Widget createWidget()
createWidget in class com.google.gwt.user.client.ui.LazyPanelpublic void onHistoryEvent(String historyStack)
onHistoryEvent in interface HistorySupportpublic void collectBreadcrumbNames(List<String> names)
BreadcrumbSupportcollectBreadcrumbNames in interface BreadcrumbSupportpublic boolean isExportButtonActive()
ViewisExportButtonActive in interface ViewCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.