|
||||||||||
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.Composite org.kuali.student.common.ui.client.mvc.breadcrumb.BreadcrumbManager
public class BreadcrumbManager
Manages breadcrumbs for the application
Nested Class Summary | |
---|---|
private static class |
BreadcrumbManager.BreadcrumbData
|
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
|
private static List<String> |
names
|
private static com.google.gwt.user.client.ui.ComplexPanel |
panel
|
private static boolean |
panelEmpty
|
private static com.google.gwt.user.client.ui.Panel |
parentPanel
|
private static Controller |
root
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
BreadcrumbManager()
|
Method Summary | |
---|---|
private static void |
addToPanel(com.google.gwt.user.client.ui.Widget w)
|
static void |
bind(Controller controller)
Binds the controller as the top level controller to call collectBreadcrumbNames on. |
private static void |
createLabel(String name)
|
private static void |
createLink(String name,
String viewPath)
|
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 |
---|
addDomHandler, addHandler, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static List<com.google.gwt.user.client.ui.Hyperlink> links
private static List<String> names
private static Controller root
private static com.google.gwt.user.client.ui.ComplexPanel panel
private static boolean panelEmpty
private static com.google.gwt.user.client.ui.Panel parentPanel
Constructor Detail |
---|
public BreadcrumbManager()
Method Detail |
---|
public static void bind(Controller controller)
controller
- public static void updateLinks(String historyStack)
historyStack
- private static void createLabel(String name)
private static void createLink(String name, String viewPath)
private static void addToPanel(com.google.gwt.user.client.ui.Widget w)
public static com.google.gwt.user.client.ui.ComplexPanel getBreadcrumbPanel()
public static void setParentPanel(com.google.gwt.user.client.ui.Panel panel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |