Interface TethysUIButtonFactory<C>
- Type Parameters:
C- the color
- All Known Implementing Classes:
TethysUICoreButtonFactory
public interface TethysUIButtonFactory<C>
Button Factory.
-
Method Summary
Modifier and TypeMethodDescriptionObtain a new button.Obtain a new colorPicker.Obtain a new date button.default TethysUIDateRangeSelectorObtain a new dateRange selector.newDateRangeSelector(boolean pBaseIsStart) Obtain a new dateRange selector.<T> TethysUIIconButtonManager<T> newIconButton(Class<T> pClazz) Obtain a new icon button manager.Obtain a new icon MapSet.newIconMapSet(int pWidth) Obtain a new icon MapSet.<T extends Comparable<? super T>>
TethysUIListButtonManager<T> Obtain a new list button manager.<T> TethysUIScrollButtonManager<T> newScrollButton(Class<T> pClazz) Obtain a new scroll button manager.
-
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
Obtain a new dateRange selector.- Returns:
- the new selector
-
newDateRangeSelector
Obtain a new dateRange selector.- Parameters:
pBaseIsStart- is the baseDate the start of the period? (true/false)- Returns:
- the new selector
-
newIconButton
Obtain a new icon button manager.- Type Parameters:
T- the item type- Parameters:
pClazz- the item class- Returns:
- the new manager
-
newIconMapSet
Obtain a new icon MapSet.- Type Parameters:
T- the item type- Returns:
- the new mapSet
-
newIconMapSet
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
Obtain a new scroll button manager.- Type Parameters:
T- the item type- Parameters:
pClazz- the item class- Returns:
- the new manager
-
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
-