Interface TethysUIListButtonManager<T extends Comparable<? super T>>

Type Parameters:
T - the object type
All Superinterfaces:
OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>, TethysUIComponent, TethysUIControl.TethysUIListButton<T>
All Known Implementing Classes:
TethysUICoreListButtonManager

public interface TethysUIListButtonManager<T extends Comparable<? super T>> extends TethysUIControl.TethysUIListButton<T>, OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>, TethysUIComponent
ListButton Manager.

Provides the following events.

NEWVALUE
fired when the dialog is closed with new values selected.
Detail is the new set of values.
EDITFOCUSLOST
fired when the dialog is cancelled without a value being selected.
  • Method Details

    • getMenu

      TethysUIScrollMenu<T> getMenu()
      Obtain menu.
      Returns:
      the menu
    • setText

      void setText(String pText)
      Set Text.
      Parameters:
      pText - the text
    • setValue

      void setValue(List<T> pValue)
      Set the value.
      Parameters:
      pValue - the value
    • getValue

      List<T> getValue()
      Obtain the value.
      Returns:
      the value
    • handleMenuRequest

      void handleMenuRequest()
      handleMenuRequest.
    • buildMenu

      boolean buildMenu()
      buildMenu.
      Returns:
      is menu display-able?
    • getText

      String getText()
      Obtain the text value.
      Returns:
      the formatted values