public abstract class BaseActionComponent extends BaseComponent implements CLogConstants
BaseComponent.DecodePassData, BaseComponent.IEventQueue| Modifier and Type | Field and Description |
|---|---|
protected java.util.ArrayList<ActionListener> |
m_actionListeners |
protected boolean |
m_immediate |
m_attributesIsDynamicInfo, m_attributesIsManagedViaAdapterBinding, m_attributesReferenceInfo, m_attributesSetViaStyle, m_attributesTakeOverInfo, m_currentDump, m_explicitlyNulledAttributes, m_lastDumpRequestSequenceId, m_previousDump, m_styleValues, m_tagAttributesLL_DBG, LL_ERR, LL_INF, LL_WAR| Constructor and Description |
|---|
BaseActionComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionListener(ActionListener actionListener) |
void |
broadcast(FacesEvent event) |
void |
clearActionListeners() |
protected BaseActionEvent |
createBaseActionEvent(java.lang.String command,
java.lang.String value)
Creates an faces event to be passed into the actionListener processing.
|
void |
decode(FacesContext context) |
void |
decode(FacesContext context,
java.lang.String clientId,
java.lang.String commandSuffix) |
MethodBinding |
getAction() |
MethodBinding |
getActionListener()
Deprecated.
|
ActionListener[] |
getActionListeners() |
java.util.List<ActionListener> |
getActionListenersAsList() |
ActionListener |
getFirstActionListener() |
boolean |
isImmediate() |
void |
removeActionListener(ActionListener actionListener) |
void |
restoreState(FacesContext context,
java.lang.Object state) |
java.lang.Object |
saveState(FacesContext context) |
void |
setAction(MethodBinding methodBinding) |
void |
setActionListener(MethodBinding methodBinding)
Deprecated.
|
void |
setImmediate(boolean arg0) |
BaseActionEvent |
triggerActionEvent(FacesContext context,
java.lang.String command,
java.lang.String value,
boolean immediate) |
addExplicitlyNulledAttribute, addValueBindingExec, addValueExpressionExec, appendDecodeInformation, applyChangedStyleVariant, buildAttributesIsDynamicInfo, checkIfAttributeIsExplicitlyNulled, checkIfAttributesIsManagedByExpression, checkIfComponentHasAdapterBinding, checkIfComponentIdIsPartOfRequest, checkIfComponentTagIsAvailable, checkIfEncodeCalledFirstTime, checkIfStyleVariantIsDynamic, checkIfStyleVariantWasUpdated, checkIfToTakeOverAttribute, convertValueDuringDecode, convertValueDuringGetAttribute, createNewIdCounter, createSubId, createSubId, destroy, detectChangesInSubComponents, encodeBegin, encodeChildren, encodeEnd, ensureSessionIsValid, executeQueueingOfBufferedEvents, findContentReplaceListDuringRendering, findCurrentDump, getAdapterBindingAterEncodeBegin, getApplicationReference, getAttributeFromAdapterBinding, getAttributeFromAdapterBinding, getAttributesGet, getAttributesGet, getAttributesSetViaStyle, getAttributeString, getAttributeValueAsString, getChild, getClientTagName, getComponentAdapterBinding, getComponentClass, getExpressionFromComponentAttribute, getFamily, getInnerEventRequestId, getOriginalAttributeString, getParameterNameForDecode, getPreferredDataType, getRendersChildren, getSavedState, getTagAttributes, isDestroyed, isRendered, m_componentRepository, passPropertyUsage, passStyleValues, processDecodes, processUpdates, processValidators, queueEvent, queueEventExecute, reactOnSetPropertiesByTagFinished, readAttributeValueDuringEncodeFromAttributesOrFromAdapterBinding, readCurrentComponentDump, readDefaultUpdateAttribute, readPreviousComponentDump, readTagAttributes, readTagAttributesSet, registerInnerEvent, renderComponentNoChange, resetInternalAttributeBuffer, resetPreviousDump, resolveComponentValueAsString, retrieveValueFromComponent, setApplicationReference, setAttributeValueFromOutside, setComponentBinding, setCurrentComponentDump, setExpressionAsComponentAttributeFromOutside, setParent, setRendered, setRendersChildren, updateAttributeValue, updateComponentBindingprotected java.util.ArrayList<ActionListener> m_actionListeners
protected boolean m_immediate
public java.lang.Object saveState(FacesContext context)
saveState in class BaseComponentpublic void restoreState(FacesContext context,
java.lang.Object state)
restoreState in class BaseComponentpublic void decode(FacesContext context)
decode in class BaseComponentpublic void decode(FacesContext context,
java.lang.String clientId,
java.lang.String commandSuffix)
public BaseActionEvent triggerActionEvent(FacesContext context, java.lang.String command, java.lang.String value, boolean immediate)
immediate - false => normal execution in INVOKE-phase, true => execution in UPDATE-phaseprotected BaseActionEvent createBaseActionEvent(java.lang.String command, java.lang.String value)
public void broadcast(FacesEvent event)
throws AbortProcessingException
AbortProcessingExceptionpublic void clearActionListeners()
public void addActionListener(ActionListener actionListener)
public ActionListener getFirstActionListener()
public java.util.List<ActionListener> getActionListenersAsList()
public ActionListener[] getActionListeners()
public boolean isImmediate()
public void removeActionListener(ActionListener actionListener)
public MethodBinding getAction()
public void setAction(MethodBinding methodBinding)
@Deprecated public MethodBinding getActionListener()
@Deprecated public void setActionListener(MethodBinding methodBinding)
public void setImmediate(boolean arg0)
Copyright © CaptainCasa Gmbh. All Rights Reserved.