Interface TethysUIListButtonManager<T extends Comparable<? super T>>
- Type Parameters:
T- the object type
- All Superinterfaces:
OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>,TethysUIComponent,TethysUIControl.TethysUIListButton<T>
- All Known Implementing Classes:
TethysUICoreListButtonManager
public interface TethysUIListButtonManager<T extends Comparable<? super T>>
extends TethysUIControl.TethysUIListButton<T>, OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>, TethysUIComponent
ListButton Manager.
Provides the following events.
- NEWVALUE
- fired when the dialog is closed with new values selected.
Detail is the new set of values. - EDITFOCUSLOST
- fired when the dialog is cancelled without a value being selected.
-
Method Summary
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, setVisibleMethods inherited from interface io.github.tonywasher.joceanus.tethys.api.control.TethysUIControl.TethysUIListButton
setSelectables
-
Method Details
-
getMenu
TethysUIScrollMenu<T> getMenu()Obtain menu.- Returns:
- the menu
-
setText
Set Text.- Parameters:
pText- the text
-
setValue
Set the value.- Parameters:
pValue- the value
-
getValue
Obtain the value.- Returns:
- the value
-
handleMenuRequest
void handleMenuRequest()handleMenuRequest. -
buildMenu
boolean buildMenu()buildMenu.- Returns:
- is menu display-able?
-
getText
String getText()Obtain the text value.- Returns:
- the formatted values
-