org.primefaces.component.commandlink
Class CommandLink

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UICommand
              extended by javax.faces.component.html.HtmlCommandLink
                  extended by 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

public class CommandLink
extends javax.faces.component.html.HtmlCommandLink
implements AjaxSource


Nested Class Summary
protected static class CommandLink.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String DISABLED_STYLE_CLASS
           
static String STYLE_CLASS
           
 
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
 
Constructor Summary
CommandLink()
           
 
Method Summary
protected  javax.faces.context.FacesContext getFacesContext()
           
 String getFamily()
           
 String getOncomplete()
           
 String getOnerror()
           
 String getOnstart()
           
 String getOnsuccess()
           
 String getProcess()
           
 String getUpdate()
           
 void handleAttribute(String name, Object value)
           
 boolean isAjax()
           
 boolean isAsync()
           
 boolean isGlobal()
           
 boolean isPartialSubmit()
           
 boolean isPartialSubmitSet()
           
 void setAjax(boolean _ajax)
           
 void setAsync(boolean _async)
           
 void setGlobal(boolean _global)
           
 void setOncomplete(String _oncomplete)
           
 void setOnerror(String _onerror)
           
 void setOnstart(String _onstart)
           
 void setOnsuccess(String _onsuccess)
           
 void setPartialSubmit(boolean _partialSubmit)
           
 void setProcess(String _process)
           
 void setUpdate(String _update)
           
 
Methods inherited from class javax.faces.component.html.HtmlCommandLink
getAccesskey, getCharset, getCoords, getDefaultEventName, getDir, getEventNames, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, 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, setShape, setStyle, setStyleClass, setTabindex, setTarget, setTitle, setType
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, 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, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, 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, 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
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
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
Constructor Detail

CommandLink

public CommandLink()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.UICommand

isAjax

public boolean isAjax()

setAjax

public void setAjax(boolean _ajax)

isAsync

public boolean isAsync()
Specified by:
isAsync in interface AjaxSource

setAsync

public void setAsync(boolean _async)

getProcess

public String getProcess()
Specified by:
getProcess in interface AjaxSource

setProcess

public void setProcess(String _process)

getUpdate

public String getUpdate()
Specified by:
getUpdate in interface AjaxSource

setUpdate

public void setUpdate(String _update)

getOnstart

public String getOnstart()
Specified by:
getOnstart in interface AjaxSource

setOnstart

public void setOnstart(String _onstart)

getOncomplete

public String getOncomplete()
Specified by:
getOncomplete in interface AjaxSource

setOncomplete

public void setOncomplete(String _oncomplete)

getOnerror

public String getOnerror()
Specified by:
getOnerror in interface AjaxSource

setOnerror

public void setOnerror(String _onerror)

getOnsuccess

public String getOnsuccess()
Specified by:
getOnsuccess in interface AjaxSource

setOnsuccess

public void setOnsuccess(String _onsuccess)

isGlobal

public boolean isGlobal()
Specified by:
isGlobal in interface AjaxSource

setGlobal

public void setGlobal(boolean _global)

isPartialSubmit

public boolean isPartialSubmit()
Specified by:
isPartialSubmit in interface AjaxSource

setPartialSubmit

public void setPartialSubmit(boolean _partialSubmit)

isPartialSubmitSet

public boolean isPartialSubmitSet()
Specified by:
isPartialSubmitSet in interface AjaxSource

getFacesContext

protected javax.faces.context.FacesContext getFacesContext()
Overrides:
getFacesContext in class javax.faces.component.UIComponentBase

handleAttribute

public void handleAttribute(String name,
                            Object value)


Copyright © 2012. All Rights Reserved.