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
isAttached
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadId
getId
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteId
setId
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteTooltip
getTooltip, setTooltip
Methods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListener
Methods inherited from interface io.github.mmm.ui.api.widget.composite.UiComposite
getChild, getChild, getChildById, getChildCount, getChildIndex, getChildSibling, getChildSibling, getDescendant, getModificationTimestamp, getPropagation, isModified, isValid, reset, setFocused
Methods inherited from interface io.github.mmm.ui.api.widget.composite.UiRemovableComposite
removeChild, removeChild
Methods 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 text
of theUiMenu
to create.- Returns:
- the
UiMenu
that has been created and added.
-
addMenu
- Parameters:
text
- the newlabel text
of theUiMenu
to create.index
- is theindex
where to insert the newUiMenu
.- Returns:
- the
UiMenu
that has been created and added.
-