public abstract class KSMenu extends com.google.gwt.user.client.ui.Composite
Modifier and Type | Class and Description |
---|---|
static class |
KSMenu.MenuImageLocation |
Modifier and Type | Field and Description |
---|---|
protected List<KSMenuItemData> |
items |
Constructor and Description |
---|
KSMenu() |
Modifier and Type | Method and Description |
---|---|
abstract void |
clearSelected()
Deselects the current selected menu item
|
List<KSMenuItemData> |
getItems()
Gets the list of KSMenuItemData used in this menu.
|
protected abstract void |
populateMenu() |
abstract boolean |
selectMenuItem(String[] hierarchy) |
void |
setItems(List<KSMenuItemData> items)
Sets the list of KSMenuItemData to be used in this menu and populates it.
|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, 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, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
protected List<KSMenuItemData> items
public KSMenu()
public void setItems(List<KSMenuItemData> items)
items
- list of KSMenuItemData to be used and populated into the menupublic List<KSMenuItemData> getItems()
protected abstract void populateMenu()
public abstract boolean selectMenuItem(String[] hierarchy)
public abstract void clearSelected()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.