org.kuali.student.common.ui.client.configurable.mvc
Class DelayedToolView
java.lang.Object
   com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject
       com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Widget
           com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.Panel
               com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.SimplePanel
                   com.google.gwt.user.client.ui.LazyPanel
com.google.gwt.user.client.ui.LazyPanel
                       org.kuali.student.common.ui.client.configurable.mvc.DelayedToolView
org.kuali.student.common.ui.client.configurable.mvc.DelayedToolView
- All Implemented Interfaces: 
- com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, Iterable<com.google.gwt.user.client.ui.Widget>, ToolView, BreadcrumbSupport, HistorySupport, View
- Direct Known Subclasses: 
- DocumentTool
- public abstract class DelayedToolView 
- extends com.google.gwt.user.client.ui.LazyPanel- implements ToolView
A view that delays its generation until it requested to be shown.
- Author:
- Kuali Student Team
 
| 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 | 
 
 
| Fields inherited from class com.google.gwt.user.client.ui.UIObject | 
| DEBUG_ID_PREFIX | 
 
 
 
| 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 | 
 
| Methods inherited from class com.google.gwt.user.client.ui.Panel | 
| adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan | 
 
| Methods inherited from class com.google.gwt.user.client.ui.Widget | 
| addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, setWidth, toString, unsinkEvents | 
 
 
| Methods inherited from interface org.kuali.student.common.ui.client.configurable.mvc.ToolView | 
| getImage | 
 
 
controller
private Controller controller
viewEnum
private Enum<?> viewEnum
viewName
private String viewName
reference
private HasReferenceId reference
modelRequestCallback
private ModelRequestCallback<ReferenceModel> modelRequestCallback
DelayedToolView
public DelayedToolView(Controller controller,
                       Enum<?> viewEnum,
                       String viewName)
- Parameters:
- controller-
- name-
DelayedToolView
public DelayedToolView(Enum<?> viewEnum,
                       String viewName)
beforeShow
public void beforeShow(Callback<Boolean> onReadyCallback)
- Description copied from interface: View
- Called by controller before the view is displayed to allow lazy initialization or any other preparatory work to be
 done.  Executes the callback with true if when the view is ready to be shown.
 
- 
- Specified by:
- beforeShowin interface- View
 
- 
 
beforeHide
public boolean beforeHide()
- Description copied from interface: View
- Called by the controller before the view is hidden to allow the view to perform cleanup or request confirmation from
 the user, etc. Can cancel the action by returning false.
 
- 
- Specified by:
- beforeHidein interface- View
 
- 
- Returns:
- true if the view can be hidden, or false to cancel the action.
- See Also:
- View.beforeHide()
 
getController
public Controller getController()
- Description copied from interface: View
- Returns the controller associated with the view
 
- 
- Specified by:
- getControllerin interface- View
 
- 
- Returns:
- See Also:
- View.getController()
 
getName
public String getName()
- Description copied from interface: View
- Returns the view's name
 
- 
- Specified by:
- getNamein interface- View
 
- 
- Returns:
- See Also:
- View.getName()
 
getViewEnum
public Enum<?> getViewEnum()
- 
- Specified by:
- getViewEnumin interface- ToolView
- Specified by:
- getViewEnumin interface- View
 
- 
 
updateModel
public void updateModel()
- Description copied from interface: View
- Updates the model with information from this view. If this view does not need to update the model
 leave this method empty.
 
- 
- Specified by:
- updateModelin interface- View
 
- 
- See Also:
- View.updateModel()
 
setController
public void setController(Controller controller)
- 
- Specified by:
- setControllerin interface- ToolView
 
- 
 
asWidget
public com.google.gwt.user.client.ui.Widget asWidget()
- Description copied from interface: View
- Get the attachable widget which represents this view
 
- 
- Specified by:
- asWidgetin interface- View
 
- 
- Returns:
- See Also:
- SectionView
 
collectHistory
public String collectHistory(String historyStack)
- 
- Specified by:
- collectHistoryin interface- HistorySupport
 
- 
 
createWidget
protected com.google.gwt.user.client.ui.Widget createWidget()
- 
- Specified by:
- createWidgetin class- com.google.gwt.user.client.ui.LazyPanel
 
- 
 
onHistoryEvent
public void onHistoryEvent(String historyStack)
- 
- Specified by:
- onHistoryEventin interface- HistorySupport
 
- 
 
collectBreadcrumbNames
public void collectBreadcrumbNames(List<String> names)
- Description copied from interface: BreadcrumbSupport
- Adds a human readable name(s) to the list passed in for use in the breadcrumb
 
- 
- Specified by:
- collectBreadcrumbNamesin interface- BreadcrumbSupport
 
- 
 
isExportButtonActive
public boolean isExportButtonActive()
- Description copied from interface: View
- This method needs to be implemented only on views that want the export button to display.
 The default implementation is not to display the export button
 
- 
- Specified by:
- isExportButtonActivein interface- View
 
- 
- Returns:
 
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.