Class CommandLink
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UICommand
-
- javax.faces.component.html.HtmlCommandLink
-
- org.primefaces.component.commandlink.CommandLinkBase
-
- org.primefaces.component.commandlink.CommandLink
-
- All Implemented Interfaces:
EventListener,javax.faces.component.ActionSource,javax.faces.component.ActionSource2,javax.faces.component.behavior.ClientBehaviorHolder,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder,AjaxSource,Confirmable,DialogReturnAware,PrimeClientBehaviorHolder
public class CommandLink extends CommandLinkBase implements DialogReturnAware
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.primefaces.component.commandlink.CommandLinkBase
CommandLinkBase.PropertyKeys
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_TYPEstatic StringDISABLED_STYLE_CLASSstatic StringSTYLE_CLASS-
Fields inherited from class org.primefaces.component.commandlink.CommandLinkBase
COMPONENT_FAMILY, DEFAULT_RENDERER
-
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
-
Fields inherited from interface org.primefaces.component.api.DialogReturnAware
ATTRIBUTE_DIALOG_RETURN_SCRIPT, EVENT_DIALOG_RETURN
-
-
Constructor Summary
Constructors Constructor Description CommandLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Class<? extends javax.faces.event.BehaviorEvent>>getBehaviorEventMapping()StringgetConfirmationScript()StringgetDefaultEventName()Collection<String>getEventNames()booleanisAjaxified()booleanisPartialSubmitSet()booleanisResetValuesSet()voidqueueEvent(javax.faces.event.FacesEvent event)booleanrequiresConfirmation()voidsetConfirmationScript(String confirmationScript)-
Methods inherited from class org.primefaces.component.commandlink.CommandLinkBase
getAriaLabel, getDelay, getFamily, getForm, getOncomplete, getOnerror, getOnstart, getOnsuccess, getPartialSubmitFilter, getProcess, getTimeout, getUpdate, isAjax, isAsync, isGlobal, isIgnoreAutoUpdate, isIgnoreComponentNotFound, isPartialSubmit, isResetValues, isValidateClient, setAjax, setAriaLabel, setAsync, setDelay, setForm, setGlobal, setIgnoreAutoUpdate, setIgnoreComponentNotFound, setOncomplete, setOnerror, setOnstart, setOnsuccess, setPartialSubmit, setPartialSubmitFilter, setProcess, setResetValues, setTimeout, setUpdate, setValidateClient
-
Methods inherited from class javax.faces.component.html.HtmlCommandLink
getAccesskey, getCharset, getCoords, getDir, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getRole, getShape, getStyle, getStyleClass, getTabindex, getTarget, getTitle, getType, isDisabled, setAccesskey, setCharset, setCoords, setDir, setDisabled, setHreflang, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRel, setRev, setRole, setShape, setStyle, setStyleClass, setTabindex, setTarget, setTitle, setType
-
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
-
Methods inherited from interface org.primefaces.component.api.DialogReturnAware
isDialogReturnEvent, queueDialogReturnEvent
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
STYLE_CLASS
public static final String STYLE_CLASS
- See Also:
- Constant Field Values
-
DISABLED_STYLE_CLASS
public static final String DISABLED_STYLE_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBehaviorEventMapping
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
- Specified by:
getBehaviorEventMappingin interfacePrimeClientBehaviorHolder
-
getEventNames
public Collection<String> getEventNames()
- Specified by:
getEventNamesin interfacejavax.faces.component.behavior.ClientBehaviorHolder- Overrides:
getEventNamesin classjavax.faces.component.html.HtmlCommandLink
-
getDefaultEventName
public String getDefaultEventName()
- Specified by:
getDefaultEventNamein interfacejavax.faces.component.behavior.ClientBehaviorHolder- Overrides:
getDefaultEventNamein classjavax.faces.component.html.HtmlCommandLink
-
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEventin classjavax.faces.component.UICommand
-
isPartialSubmitSet
public boolean isPartialSubmitSet()
- Specified by:
isPartialSubmitSetin interfaceAjaxSource
-
isResetValuesSet
public boolean isResetValuesSet()
- Specified by:
isResetValuesSetin interfaceAjaxSource
-
isAjaxified
public boolean isAjaxified()
- Specified by:
isAjaxifiedin interfaceAjaxSource
-
getConfirmationScript
public String getConfirmationScript()
- Specified by:
getConfirmationScriptin interfaceConfirmable
-
setConfirmationScript
public void setConfirmationScript(String confirmationScript)
- Specified by:
setConfirmationScriptin interfaceConfirmable
-
requiresConfirmation
public boolean requiresConfirmation()
- Specified by:
requiresConfirmationin interfaceConfirmable
-
-