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, setWidget
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, setWidth, sinkBitlessEvent, toString, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getImage
clear, showExport
public DelayedToolView(Controller controller, Enum<?> viewEnum, String viewName)
controller
- name
- public DelayedToolView(Enum<?> viewEnum, String viewName)
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
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.