|
||||||||||
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.widgets.menus.KSMenu org.kuali.student.common.ui.client.widgets.menus.KSBasicMenuAbstract org.kuali.student.common.ui.client.widgets.menus.impl.KSBasicMenuImpl
public class KSBasicMenuImpl
Nested Class Summary | |
---|---|
private class |
KSBasicMenuImpl.EventHandler
|
private class |
KSBasicMenuImpl.MenuItemPanel
|
Nested classes/interfaces inherited from class org.kuali.student.common.ui.client.widgets.menus.KSMenu |
---|
KSMenu.MenuImageLocation |
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 | |
---|---|
private KSBasicMenuImpl.EventHandler |
handler
|
private com.google.gwt.user.client.ui.VerticalPanel |
menuContainer
|
private KSLabel |
menuDescription
|
private MenuEventHandler |
menuHandler
|
private List<KSBasicMenuImpl.MenuItemPanel> |
menuItems
|
private com.google.gwt.user.client.ui.VerticalPanel |
menuPanel
|
private KSLabel |
menuTitle
|
private com.google.gwt.user.client.ui.VerticalPanel |
menuTitlePanel
|
private boolean |
numberAllItems
|
Fields inherited from class org.kuali.student.common.ui.client.widgets.menus.KSMenu |
---|
items |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
KSBasicMenuImpl()
|
Method Summary | |
---|---|
private void |
addMenuItem(KSBasicMenuImpl.MenuItemPanel panel)
|
void |
clearSelected()
Deselects the current selected menu item |
private void |
createMenuItems(List<KSMenuItemData> theItems,
int currentDepth)
|
boolean |
isNumberAllItems()
|
protected void |
populateMenu()
|
boolean |
selectMenuItem(String[] hierarchy)
|
private void |
selectMenuItemPanel(KSBasicMenuImpl.MenuItemPanel toBeSelected)
|
void |
setDescription(String description)
|
void |
setNumberAllItems(boolean numberAllItems)
|
void |
setTitle(String title)
|
Methods inherited from class org.kuali.student.common.ui.client.widgets.menus.KSMenu |
---|
getItems, setItems |
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, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private com.google.gwt.user.client.ui.VerticalPanel menuPanel
private com.google.gwt.user.client.ui.VerticalPanel menuTitlePanel
private KSLabel menuTitle
private KSLabel menuDescription
private com.google.gwt.user.client.ui.VerticalPanel menuContainer
private List<KSBasicMenuImpl.MenuItemPanel> menuItems
private boolean numberAllItems
private KSBasicMenuImpl.EventHandler handler
private MenuEventHandler menuHandler
Constructor Detail |
---|
public KSBasicMenuImpl()
Method Detail |
---|
public void setTitle(String title)
setTitle
in class KSBasicMenuAbstract
public void setDescription(String description)
setDescription
in class KSBasicMenuAbstract
private void selectMenuItemPanel(KSBasicMenuImpl.MenuItemPanel toBeSelected)
protected void populateMenu()
populateMenu
in class KSMenu
private void createMenuItems(List<KSMenuItemData> theItems, int currentDepth)
private void addMenuItem(KSBasicMenuImpl.MenuItemPanel panel)
public boolean isNumberAllItems()
isNumberAllItems
in class KSBasicMenuAbstract
public void setNumberAllItems(boolean numberAllItems)
setNumberAllItems
in class KSBasicMenuAbstract
public boolean selectMenuItem(String[] hierarchy)
selectMenuItem
in class KSMenu
public void clearSelected()
KSMenu
clearSelected
in class KSMenu
KSMenu.clearSelected()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |