Type Parameters:
C - the color
All Known Implementing Classes:
TethysUICoreButtonFactory

public interface TethysUIButtonFactory<C>
Button Factory.
  • Method Details

    • newButton

      TethysUIButton newButton()
      Obtain a new button.
      Returns:
      the new button
    • newDateButton

      TethysUIDateButtonManager newDateButton()
      Obtain a new date button.
      Returns:
      the new date button
    • newDateRangeSelector

      default TethysUIDateRangeSelector newDateRangeSelector()
      Obtain a new dateRange selector.
      Returns:
      the new selector
    • newDateRangeSelector

      TethysUIDateRangeSelector newDateRangeSelector(boolean pBaseIsStart)
      Obtain a new dateRange selector.
      Parameters:
      pBaseIsStart - is the baseDate the start of the period? (true/false)
      Returns:
      the new selector
    • newIconButton

      <T> TethysUIIconButtonManager<T> newIconButton(Class<T> pClazz)
      Obtain a new icon button manager.
      Type Parameters:
      T - the item type
      Parameters:
      pClazz - the item class
      Returns:
      the new manager
    • newIconMapSet

      <T> TethysUIControl.TethysUIIconMapSet<T> newIconMapSet()
      Obtain a new icon MapSet.
      Type Parameters:
      T - the item type
      Returns:
      the new mapSet
    • newIconMapSet

      <T> TethysUIControl.TethysUIIconMapSet<T> newIconMapSet(int pWidth)
      Obtain a new icon MapSet.
      Type Parameters:
      T - the item type
      Parameters:
      pWidth - the icon width for the map set
      Returns:
      the new mapSet
    • newScrollButton

      <T> TethysUIScrollButtonManager<T> newScrollButton(Class<T> pClazz)
      Obtain a new scroll button manager.
      Type Parameters:
      T - the item type
      Parameters:
      pClazz - the item class
      Returns:
      the new manager
    • newListButton

      <T extends Comparable<? super T>> TethysUIListButtonManager<T> newListButton()
      Obtain a new list button manager.
      Type Parameters:
      T - the item type
      Returns:
      the new manager
    • newColorPicker

      TethysUIColorPicker<C> newColorPicker()
      Obtain a new colorPicker.
      Returns:
      the new picker