org.kuali.student.common.ui.client.mvc.breadcrumb
Class BreadcrumbManager

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.kuali.student.common.ui.client.mvc.breadcrumb.BreadcrumbManager
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget

public class BreadcrumbManager
extends com.google.gwt.user.client.ui.Composite

Manages breadcrumbs for the application

Author:
Kuali Student Team

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
static List<com.google.gwt.user.client.ui.Hyperlink> links
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
BreadcrumbManager()
           
 
Method Summary
static void bind(Controller controller)
          Binds the controller as the top level controller to call collectBreadcrumbNames on.
static com.google.gwt.user.client.ui.ComplexPanel getBreadcrumbPanel()
           
static void setParentPanel(com.google.gwt.user.client.ui.Panel panel)
           
static void updateLinks(String historyStack)
          Updates the breadcrumb panel with the current breadcrumb by walking the controller hierarchy by calling collectBreadcrumbNames on the root controller bound to the BreadcrumbManager.
 
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
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, 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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

links

public static List<com.google.gwt.user.client.ui.Hyperlink> links
Constructor Detail

BreadcrumbManager

public BreadcrumbManager()
Method Detail

bind

public static void bind(Controller controller)
Binds the controller as the top level controller to call collectBreadcrumbNames on.

Parameters:
controller -

updateLinks

public static void updateLinks(String historyStack)
Updates the breadcrumb panel with the current breadcrumb by walking the controller hierarchy by calling collectBreadcrumbNames on the root controller bound to the BreadcrumbManager.

Parameters:
historyStack -

getBreadcrumbPanel

public static com.google.gwt.user.client.ui.ComplexPanel getBreadcrumbPanel()
Returns:
the breadcrumb panel which contains the breadcrumb links dynamically updated by the BreadcrumbManager

setParentPanel

public static void setParentPanel(com.google.gwt.user.client.ui.Panel panel)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.