Module io.github.mmm.ui.api.menu
Package io.github.mmm.ui.api.widget.menu
Interface UiAbstractMenu<E extends UiAbstractMenuEntry>
- Type Parameters:
E- type of thechild menu entries.
- All Superinterfaces:
AttributeReadAttached,AttributeReadEnabled,AttributeReadId,AttributeReadValid,AttributeReadVisible,AttributeWriteEnabled,AttributeWriteId,AttributeWriteReadOnly,AttributeWriteTooltip,AttributeWriteVisible,io.github.mmm.event.EventSource<UiEvent,,UiEventListener> UiComposite<E>,UiRemovableComposite<E>,UiWidget
- All Known Subinterfaces:
UiAbstractMenuBar<E>,UiAbstractMenuWithItems,UiAdvancedMenu,UiMenu,UiMenuBar,UiNavigationBar
UiRemovableComposite that groups menu entries. It is either a UiMenu or
the top-level menu container itself.- Since:
- 1.0.0
-
Method Summary
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadAttached
isAttachedMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadId
getIdMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteId
setIdMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteTooltip
getTooltip, setTooltipMethods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListenerMethods inherited from interface io.github.mmm.ui.api.widget.composite.UiComposite
getChild, getChild, getChildById, getChildCount, getChildIndex, getChildSibling, getChildSibling, getDescendant, getModificationTimestamp, getPropagation, isModified, isValid, reset, setFocusedMethods inherited from interface io.github.mmm.ui.api.widget.composite.UiRemovableComposite
removeChild, removeChildMethods inherited from interface io.github.mmm.ui.api.widget.UiWidget
cast, dispose, getParent, getReadOnlyFixed, getStyles, isDisposed, isEnabled, isEnabled, isFocused, isReadOnly, isVisible, isVisible, setEnabled, setEnabled, setReadOnly, setReadOnlyFixed, setVisible, setVisible, validate, validate, validate, validateDown, validateUp
-
Method Details
-
addMenu
- Parameters:
text- the newlabel textof theUiMenuto create.- Returns:
- the
UiMenuthat has been created and added.
-
addMenu
- Parameters:
text- the newlabel textof theUiMenuto create.index- is theindexwhere to insert the newUiMenu.- Returns:
- the
UiMenuthat has been created and added.
-