Class AbstractUICommand
java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UICommand
org.apache.myfaces.tobago.internal.component.AbstractUICommandBase
org.apache.myfaces.tobago.internal.component.AbstractUICommand
- All Implemented Interfaces:
jakarta.faces.component.ActionSource
,jakarta.faces.component.ActionSource2
,jakarta.faces.component.behavior.ClientBehaviorHolder
,jakarta.faces.component.PartialStateHolder
,jakarta.faces.component.StateHolder
,jakarta.faces.component.TransientStateHolder
,jakarta.faces.event.ComponentSystemEventListener
,jakarta.faces.event.FacesListener
,jakarta.faces.event.SystemEventListenerHolder
,EventListener
,SupportFieldId
,SupportsAccessKey
,SupportsAutoSpacing
,Visual
- Direct Known Subclasses:
AbstractUIButton
,AbstractUILink
public abstract class AbstractUICommand
extends AbstractUICommandBase
implements SupportsAutoSpacing, SupportsAccessKey, Visual, jakarta.faces.component.behavior.ClientBehaviorHolder, SupportFieldId
Base class for commands.
-
Field Summary
Fields inherited from class jakarta.faces.component.UICommand
COMPONENT_FAMILY, COMPONENT_TYPE
Fields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFieldId
(jakarta.faces.context.FacesContext facesContext) abstract String
getImage()
abstract String
getLabel()
boolean
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUICommandBase
getConfirmation, getFragment, getLink, getOutcome, getTarget, isDisabled, isOmit, isRendered, isTransition, processDecodes, processEvent, queueEvent, setDisabled, setOmit
Methods inherited from class jakarta.faces.component.UICommand
addActionListener, broadcast, getActionExpression, getActionListeners, getFamily, getValue, isImmediate, removeActionListener, setActionExpression, setImmediate, setValue
Methods inherited from class jakarta.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isTransient, markInitialState, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, visitTree
Methods inherited from class jakarta.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames
Methods inherited from interface org.apache.myfaces.tobago.component.SupportsAccessKey
getAccessKey
Methods inherited from interface org.apache.myfaces.tobago.component.SupportsAutoSpacing
getAutoSpacing, getAutoSpacing
Methods inherited from interface org.apache.myfaces.tobago.component.Visual
getCustomClass, getMarkup, getRendererType, isPlain, setCustomClass, setMarkup
-
Constructor Details
-
AbstractUICommand
public AbstractUICommand()
-
-
Method Details
-
isParentOfCommands
public boolean isParentOfCommands() -
getImage
-
getLabel
- Specified by:
getLabel
in interfaceSupportsAccessKey
-
getFieldId
- Specified by:
getFieldId
in interfaceSupportFieldId
-