Interface TethysUIControl.TethysUIIconMapSet<T>

Type Parameters:
T - the object type
All Known Implementing Classes:
TethysUICoreIconButtonManager.TethysUICoreIconMapSet
Enclosing interface:
TethysUIControl

public static interface TethysUIControl.TethysUIIconMapSet<T>
MapSet.
  • Method Details

    • getSize

      int getSize()
      Obtain the iconSize.
      Returns:
      the iconSize
    • clearMaps

      void clearMaps()
      Clear the mapSet.
    • setMappingsForValue

      default void setMappingsForValue(T pValue, T pNext, String pTooltip)
      Set mappings for value with no icon.
      Parameters:
      pValue - the value
      pNext - the next value for value
      pTooltip - the toolTip
    • setMappingsForValue

      default void setMappingsForValue(T pValue, T pNext, TethysUIIconId pId)
      Set mappings for value with no toolTip.
      Parameters:
      pValue - the value
      pNext - the next value for value
      pId - the mapped IconId
    • setMappingsForValue

      void setMappingsForValue(T pValue, T pNext, TethysUIIconId pId, String pTooltip)
      Set mappings for value.
      Parameters:
      pValue - the value
      pNext - the next value for value
      pId - the mapped IconId
      pTooltip - the toolTip
    • getIconForValue

      TethysUIIconId getIconForValue(T pValue)
      Obtain Icon for value.
      Parameters:
      pValue - the value
      Returns:
      the value
    • getTooltipForValue

      String getTooltipForValue(T pValue)
      Obtain ToolTip for value.
      Parameters:
      pValue - the value
      Returns:
      the value
    • getNextValueForValue

      T getNextValueForValue(T pValue)
      Obtain Next value for value.
      Parameters:
      pValue - the value
      Returns:
      the value