Interface TethysUIIconButtonManager<T>
- Type Parameters:
T- the object type
- All Superinterfaces:
OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>,TethysUIComponent
- All Known Implementing Classes:
TethysUICoreIconButtonManager
public interface TethysUIIconButtonManager<T>
extends OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>, TethysUIComponent
IconButton Manager.
Provides the following events.
- NEWVALUE
- fired when a new value is selected.
Detail is new value
-
Method Summary
Modifier and TypeMethodDescriptionvoidApply button state.Get the mapSet selector.getValue()Obtain value.Obtain value class.voidProgress state.voidsetIconMapSet(Supplier<TethysUIControl.TethysUIIconMapSet<T>> pSelector) Set the mapSet selector.voidSet Null Margins.voidSet the value.Methods inherited from interface io.github.tonywasher.joceanus.oceanus.event.OceanusEventRegistrar.OceanusEventProvider
getEventRegistrarMethods inherited from interface io.github.tonywasher.joceanus.tethys.api.base.TethysUIComponent
getBorderPadding, getBorderTitle, getId, getNode, getUnderlying, setBorderPadding, setBorderTitle, setEnabled, setPreferredHeight, setPreferredWidth, setVisible
-
Method Details
-
getValue
T getValue()Obtain value.- Returns:
- the value
-
getValueClass
Obtain value class.- Returns:
- the class
-
setValue
Set the value.- Parameters:
pValue- the value to set
-
setIconMapSet
Set the mapSet selector.- Parameters:
pSelector- the selector
-
getIconMapSet
Supplier<TethysUIControl.TethysUIIconMapSet<T>> getIconMapSet()Get the mapSet selector.- Returns:
- the selector
-
setNullMargins
void setNullMargins()Set Null Margins. -
applyButtonState
void applyButtonState()Apply button state. -
progressToNextState
void progressToNextState()Progress state.
-