- 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
- Since:
- 1.0.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault UiMenuItemCheckboxaddCheckbox(String text, UiClickEventListener listener) addCheckbox(String text, UiClickEventListener listener, int index) default UiAdvancedMenudefault UiMenuItemRadioButtonaddRadioButton(String text, UiClickEventListener listener) addRadioButton(String text, UiClickEventListener listener, int index) 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.AttributeReadText
getTextMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteId
setIdMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteText
setTextMethods 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.menu.UiAbstractMenuWithItems
addItem, addItem, addItem, addItem, addSeparator, addSeparatorMethods 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
- Specified by:
addMenuin interfaceUiAbstractMenu<UiAbstractMenuEntry>- Parameters:
text- the newlabel textof theUiMenuto create.- Returns:
- the
UiMenuthat has been created and added.
-
addMenu
- Specified by:
addMenuin interfaceUiAbstractMenu<UiAbstractMenuEntry>- Parameters:
text- the newlabel textof theUiMenuto create.index- is theindexwhere to insert the newUiMenu.- Returns:
- the
UiMenuthat has been created and added.
-
addCheckbox
- Parameters:
text- the newlabel textof theUiMenuItemCheckboxto create.listener- theUiClickEventListenerto listen forUiClickEvents.- Returns:
- the created and added
UiMenuItemCheckbox.
-
addCheckbox
- Parameters:
text- the newlabel textof theUiMenuItemCheckboxto create.listener- theUiClickEventListenerto listen forUiClickEvents.index- is theindexwhere to insert the newUiMenuItemCheckbox.- Returns:
- the created and added
UiMenuItemCheckbox.
-
addRadioButton
- Parameters:
text- the newlabel textof theUiMenuItemRadioButtonto create.listener- theUiClickEventListenerto listen forUiClickEvents.- Returns:
- the created and added
UiMenuItemRadioButton.
-
addRadioButton
- Parameters:
text- the newlabel textof theUiMenuItemRadioButtonto create.listener- theUiClickEventListenerto listen forUiClickEvents.index- is theindexwhere to insert the newUiMenuItemRadioButton.- Returns:
- the created and added
UiMenuItemRadioButton.
-