Schnittstelle IItemMenu<M extends IItemMenu<M,S>,S extends IItemMenuStyle<S>>

Alle Superschnittstellen:
Clearable, Dimensionable<M>, EmptinessRequestable, IControl<M,S>, IElement, IFluentMutableMultiTokenHolder<M>, IFluentMutableOptionalIdHolder<M>, IHtmlGetter, IMultiTokenHolder, IMutableElement, IOptionalIdHolder, IStructureElement, IStylableElement<M>, IUserInputCell<M>, Linkable, LinkedRequestable, PresenceRequestable, PresenceSettable<M>, Resettable, TypeRequestable
Alle bekannten Unterschnittstellen:
IDropdownMenu
Alle bekannten Implementierungsklassen:
AbstractItemMenu, DropdownMenu

public interface IItemMenu<M extends IItemMenu<M,S>,S extends IItemMenuStyle<S>> extends Clearable, IControl<M,S>
  • Methodendetails

    • addItem

      M addItem(IItemMenuItem<?> item, IItemMenuItem<?>... items)
    • addBlankItem

      M addBlankItem()
    • addItemWithIdAndText

      M addItemWithIdAndText(String id, String text)
    • addItemWithIdAndTextAndSelectAction

      M addItemWithIdAndTextAndSelectAction(String id, String text, Runnable selectAction)
    • addItemWithIdAndTextAndSelectAction

      M addItemWithIdAndTextAndSelectAction(String id, String text, Consumer<IItemMenuItem<?>> selectAction)
    • addItemWithText

      M addItemWithText(String text, String... texts)
    • addItemWithTextAndSelectAction

      M addItemWithTextAndSelectAction(String text, Runnable selectAction)
    • addItemWithTextAndSelectAction

      M addItemWithTextAndSelectAction(String text, Consumer<IItemMenuItem<?>> selectAction)
    • blankItemIsSelected

      boolean blankItemIsSelected()
    • containsBlankItem

      boolean containsBlankItem()
    • containsItemWithId

      boolean containsItemWithId(String id)
    • containsItemWithText

      boolean containsItemWithText(String text)
    • containsSelectedItem

      boolean containsSelectedItem()
    • getIdByItemText

      String getIdByItemText(String itemText)
    • getStoredItems

      IContainer<IItemMenuItem<?>> getStoredItems()
    • getStoredSelectedItem

      IItemMenuItem<?> getStoredSelectedItem()
    • getTextByItemId

      String getTextByItemId(String itemId)
    • removeSelectAction

      void removeSelectAction()
    • selectBlankItem

      M selectBlankItem()
    • selectFirstItem

      M selectFirstItem()
    • selectItemById

      M selectItemById(String id)
    • selectItemByText

      M selectItemByText(String text)
    • setSelectAction

      M setSelectAction(Runnable selectAction)
    • setSelectAction

      M setSelectAction(Consumer<IItemMenuItem<?>> selectAction)
    • internalRunOptionalSelectActionForItem

      void internalRunOptionalSelectActionForItem(IItemMenuItem<?> item)