Interface TethysUIScrollButtonManager<T>

Type Parameters:
T - the object type
All Superinterfaces:
TethysEventRegistrar.TethysEventProvider<TethysUIEvent>, TethysUIComponent, TethysUIControl.TethysUIScrollButton<T>
All Known Implementing Classes:
TethysUICoreScrollButtonManager

ScrollButton Manager.

Provides the following events.

NEWVALUE
fired when a new value is selected.
Detail is new value
EDITFOCUSLOST
fired when the dialog is cancelled without a value being selected.
  • Method Details

    • getValue

      T getValue()
      Obtain value.
      Returns:
      the value
    • getValueClass

      Class<T> getValueClass()
      Obtain value class.
      Returns:
      the class
    • getMenu

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

      void setValue(T pValue)
      Set the value.
      Parameters:
      pValue - the value to set.
    • setFixedText

      void setFixedText(String pText)
      Set fixed text for the button.
      Parameters:
      pText - the fixed text.
    • setValue

      void setValue(T pValue, String pName)
      Set the value.
      Parameters:
      pValue - the value to set.
      pName - the display name
    • setSimpleDetails

      void setSimpleDetails(TethysUIIconId pId, int pWidth, String pToolTip)
      Set simple details.
      Parameters:
      pId - the mapped IconId
      pWidth - the icon width
      pToolTip - the toolTip for value
    • setNullMargins

      void setNullMargins()
      Set Null Margins.
    • refreshText

      void refreshText()
      Refresh Text from item.
    • handleMenuRequest

      void handleMenuRequest()
      handleMenuRequest.