-
- All Superinterfaces:
AttributeReadAttached
,AttributeReadEnabled
,AttributeReadId
,AttributeReadText
,AttributeReadValid
,AttributeReadVisible
,AttributeWriteEnabled
,AttributeWriteId
,AttributeWriteReadOnly
,AttributeWriteText
,AttributeWriteTooltip
,AttributeWriteVisible
,io.github.mmm.event.EventSource<UiEvent,UiEventListener>
,UiAbstractMenu<UiAbstractMenuEntry>
,UiAbstractMenuEntry
,UiAbstractMenuWithItems
,UiComposite<UiAbstractMenuEntry>
,UiMenu
,UiRemovableComposite<UiAbstractMenuEntry>
,UiWidget
public interface UiAdvancedMenu extends UiMenu
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UiMenuItemCheckbox
addCheckbox(String text, UiClickEventListener listener)
UiMenuItemCheckbox
addCheckbox(String text, UiClickEventListener listener, int index)
default UiAdvancedMenu
addMenu(String text)
UiAdvancedMenu
addMenu(String text, int index)
default UiMenuItemRadioButton
addRadioButton(String text, UiClickEventListener listener)
UiMenuItemRadioButton
addRadioButton(String text, UiClickEventListener listener, int index)
-
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.AttributeReadText
getText
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteId
setId
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteText
setText
-
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.menu.UiAbstractMenuWithItems
addItem, addItem, addItem, addItem, addSeparator, addSeparator
-
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 Detail
-
addMenu
default UiAdvancedMenu addMenu(String text)
- Specified by:
addMenu
in interfaceUiAbstractMenu<UiAbstractMenuEntry>
- Parameters:
text
- the newlabel text
of theUiMenu
to create.- Returns:
- the
UiMenu
that has been created and added.
-
addMenu
UiAdvancedMenu addMenu(String text, int index)
- Specified by:
addMenu
in interfaceUiAbstractMenu<UiAbstractMenuEntry>
- 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.
-
addCheckbox
default UiMenuItemCheckbox addCheckbox(String text, UiClickEventListener listener)
- Parameters:
text
- the newlabel text
of theUiMenuItemCheckbox
to create.listener
- theUiClickEventListener
to listen forUiClickEvent
s.- Returns:
- the created and added
UiMenuItemCheckbox
.
-
addCheckbox
UiMenuItemCheckbox addCheckbox(String text, UiClickEventListener listener, int index)
- Parameters:
text
- the newlabel text
of theUiMenuItemCheckbox
to create.listener
- theUiClickEventListener
to listen forUiClickEvent
s.index
- is theindex
where to insert the newUiMenuItemCheckbox
.- Returns:
- the created and added
UiMenuItemCheckbox
.
-
addRadioButton
default UiMenuItemRadioButton addRadioButton(String text, UiClickEventListener listener)
- Parameters:
text
- the newlabel text
of theUiMenuItemRadioButton
to create.listener
- theUiClickEventListener
to listen forUiClickEvent
s.- Returns:
- the created and added
UiMenuItemRadioButton
.
-
addRadioButton
UiMenuItemRadioButton addRadioButton(String text, UiClickEventListener listener, int index)
- Parameters:
text
- the newlabel text
of theUiMenuItemRadioButton
to create.listener
- theUiClickEventListener
to listen forUiClickEvent
s.index
- is theindex
where to insert the newUiMenuItemRadioButton
.- Returns:
- the created and added
UiMenuItemRadioButton
.
-
-