Class TextItemMenu<TIM extends TextItemMenu<TIM>>

    • Constructor Detail

      • TextItemMenu

        public TextItemMenu()
    • Method Detail

      • addItem

        public TIM addItem​(java.lang.String item)
      • addItem

        public final TIM addItem​(java.lang.String... items)
      • addItem

        public TIM addItem​(java.lang.String id,
                           java.lang.String item)
      • addItems

        public TIM addItems​(java.lang.Iterable<java.lang.String> items)
      • clear

        public final void clear()
        Description copied from interface: Clearable
        Removes the elements of the current Clearable.
        Specified by:
        clear in interface Clearable
      • containsItem

        public final boolean containsItem​(java.lang.String text)
      • containsItemWithId

        public final boolean containsItemWithId​(java.lang.String id)
      • containsSelectedItem

        public final boolean containsSelectedItem()
      • getIndexOfSelectedItem

        public final int getIndexOfSelectedItem()
      • hasSelectAction

        public final boolean hasSelectAction()
      • removeSelectAction

        public final TIM removeSelectAction()
      • selectFirstItem

        public final TIM selectFirstItem()
      • selectItem

        public final TIM selectItem​(java.lang.String item)
      • selectItemById

        public final TIM selectItemById​(java.lang.String id)
      • unselectItems

        public final TIM unselectItems()