Class PrometheusItemActions<G extends Enum<G>>
java.lang.Object
io.github.tonywasher.joceanus.prometheus.ui.PrometheusItemActions<G>
- Type Parameters:
G- the goto id type
- All Implemented Interfaces:
OceanusEventRegistrar.OceanusEventProvider<PrometheusUIEvent>,TethysUIComponent
public class PrometheusItemActions<G extends Enum<G>>
extends Object
implements OceanusEventRegistrar.OceanusEventProvider<PrometheusUIEvent>, TethysUIComponent
Item Action buttons.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPrometheusItemActions(TethysUIFactory<?> pFactory, PrometheusItemEditActions.PrometheusItemEditParent pParent) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionObtain registration object for listeners.Obtain the underlying component (if any).voidsetEnabled(boolean bEnabled) Set Enabled status.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.tonywasher.joceanus.tethys.api.base.TethysUIComponent
getBorderPadding, getBorderTitle, getId, getNode, setBorderPadding, setBorderTitle, setPreferredHeight, setPreferredWidth, setVisible
-
Field Details
-
BORDER_PADDING
protected static final int BORDER_PADDINGThe Border padding.- See Also:
-
-
Constructor Details
-
PrometheusItemActions
public PrometheusItemActions(TethysUIFactory<?> pFactory, PrometheusItemEditActions.PrometheusItemEditParent pParent) Constructor.- Parameters:
pFactory- the GUI factorypParent- the parent
-
-
Method Details
-
getUnderlying
Description copied from interface:TethysUIComponentObtain the underlying component (if any).- Specified by:
getUnderlyingin interfaceTethysUIComponent- Returns:
- the underlying component
-
getEventRegistrar
Description copied from interface:OceanusEventRegistrar.OceanusEventProviderObtain registration object for listeners.- Specified by:
getEventRegistrarin interfaceOceanusEventRegistrar.OceanusEventProvider<G extends Enum<G>>- Returns:
- the registrar
-
setEnabled
public void setEnabled(boolean bEnabled) Description copied from interface:TethysUIComponentSet Enabled status.- Specified by:
setEnabledin interfaceTethysUIComponent- Parameters:
bEnabled- true/false
-