Interface TethysUIScrollButtonManager<T>
- Type Parameters:
T
- the object type
- All Superinterfaces:
TethysEventRegistrar.TethysEventProvider<TethysUIEvent>
,TethysUIComponent
,TethysUIControl.TethysUIScrollButton<T>
- All Known Implementing Classes:
TethysUICoreScrollButtonManager
public interface TethysUIScrollButtonManager<T>
extends TethysUIControl.TethysUIScrollButton<T>, TethysEventRegistrar.TethysEventProvider<TethysUIEvent>, TethysUIComponent
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 Summary
Modifier and TypeMethodDescriptiongetMenu()
Obtain menu.getValue()
Obtain value.Obtain value class.void
handleMenuRequest.void
Refresh Text from item.void
setFixedText
(String pText) Set fixed text for the button.void
Set Null Margins.void
setSimpleDetails
(TethysUIIconId pId, int pWidth, String pToolTip) Set simple details.void
Set the value.void
Set the value.Methods inherited from interface net.sourceforge.joceanus.jtethys.event.TethysEventRegistrar.TethysEventProvider
getEventRegistrar
Methods inherited from interface net.sourceforge.joceanus.jtethys.ui.api.base.TethysUIComponent
getBorderPadding, getBorderTitle, getId, getNode, getUnderlying, setBorderPadding, setBorderTitle, setEnabled, setPreferredHeight, setPreferredWidth, setVisible
Methods inherited from interface net.sourceforge.joceanus.jtethys.ui.api.control.TethysUIControl.TethysUIScrollButton
setMenuConfigurator
-
Method Details
-
getValue
T getValue()Obtain value.- Returns:
- the value
-
getValueClass
Obtain value class.- Returns:
- the class
-
getMenu
TethysUIScrollMenu<T> getMenu()Obtain menu.- Returns:
- the menu
-
setValue
Set the value.- Parameters:
pValue
- the value to set.
-
setFixedText
Set fixed text for the button.- Parameters:
pText
- the fixed text.
-
setValue
Set the value.- Parameters:
pValue
- the value to set.pName
- the display name
-
setSimpleDetails
Set simple details.- Parameters:
pId
- the mapped IconIdpWidth
- the icon widthpToolTip
- the toolTip for value
-
setNullMargins
void setNullMargins()Set Null Margins. -
refreshText
void refreshText()Refresh Text from item. -
handleMenuRequest
void handleMenuRequest()handleMenuRequest.
-