Interface IItemMenuSearcher

All Known Implementing Classes:
ItemMenuSearcher

public interface IItemMenuSearcher
Author:
Silvan Wyss
  • Method Details

    • getStoredBlankItem

      IItemMenuItem<?> getStoredBlankItem(IItemMenu<?,?> itemMenu)
      Parameters:
      itemMenu -
      Returns:
      the blank item of the given itemMenu.
      Throws:
      RuntimeException - if the given itemMenu does not contain a blank item.
    • getStoredFirstItem

      IItemMenuItem<?> getStoredFirstItem(IItemMenu<?,?> itemMenu)
      Parameters:
      itemMenu -
      Returns:
      the first item of the given itemMenu.
      Throws:
      RuntimeException - if the given itemMenu dies not contain an item.
    • getStoredItemById

      IItemMenuItem<?> getStoredItemById(IItemMenu<?,?> itemMenu, String id)
      Parameters:
      itemMenu -
      id -
      Returns:
      the item with the given id from the given itemMenu.
      Throws:
      RuntimeException - if the given itemMenu does not contain an item with the given id.
    • getStoredItemByText

      IItemMenuItem<?> getStoredItemByText(IItemMenu<?,?> itemMenu, String text)
      Parameters:
      itemMenu -
      text -
      Returns:
      the item with the given text from the given itemMenu.
      Throws:
      RuntimeException - if the given itemMenu does not contain an item with the given text.