Class CommandButtonBase
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
javax.faces.component.html.HtmlCommandButton
org.primefaces.component.commandbutton.CommandButtonBase
- 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,PrimeClientBehaviorHolder,Widget
- Direct Known Subclasses:
CommandButton
public abstract class CommandButtonBase
extends javax.faces.component.html.HtmlCommandButton
implements AjaxSource, Widget, Confirmable, PrimeClientBehaviorHolder
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class javax.faces.component.html.HtmlCommandButton
COMPONENT_TYPEFields 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_KEYFields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDelay()getForm()getIcon()intbooleanisAjax()booleanisAsync()booleanbooleanisEscape()booleanisGlobal()booleanbooleanbooleanisInline()booleanbooleanbooleanbooleanvoidsetAjax(boolean ajax) voidsetAriaLabel(String ariaLabel) voidsetAsync(boolean async) voidvoidsetDisableOnAjax(boolean disableOnAjax) voidsetEscape(boolean escape) voidvoidsetGlobal(boolean global) voidvoidsetIconPos(String iconPos) voidsetIgnoreAutoUpdate(boolean ignoreAutoUpdate) voidsetIgnoreComponentNotFound(boolean ignoreComponentNotFound) voidsetInline(boolean inline) voidsetOncomplete(String oncomplete) voidsetOnerror(String onerror) voidsetOnstart(String onstart) voidsetOnsuccess(String onsuccess) voidsetPartialSubmit(boolean partialSubmit) voidsetPartialSubmitFilter(String partialSubmitFilter) voidsetProcess(String process) voidsetRenderDisabledClick(boolean renderDisabledClick) voidsetResetValues(boolean resetValues) voidsetTimeout(int timeout) voidvoidsetValidateClient(boolean validateClient) voidsetWidgetVar(String widgetVar) Methods inherited from class javax.faces.component.html.HtmlCommandButton
getAccesskey, getAlt, getDefaultEventName, getDir, getEventNames, getImage, getLabel, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getStyle, getStyleClass, getTabindex, getTitle, getType, isDisabled, isReadonly, setAccesskey, setAlt, setDir, setDisabled, setImage, setLabel, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setStyle, setStyleClass, setTabindex, setTitle, setTypeMethods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValueMethods 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, unsubscribeFromEventMethods 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, visitTreeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.primefaces.component.api.AjaxSource
isAjaxified, isPartialSubmitSet, isResetValuesSetMethods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviorsMethods inherited from interface org.primefaces.component.api.Confirmable
getConfirmationScript, requiresConfirmation, setConfirmationScriptMethods inherited from interface org.primefaces.component.api.PrimeClientBehaviorHolder
getBehaviorEventMappingMethods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
COMPONENT_FAMILY
- See Also:
-
DEFAULT_RENDERER
- See Also:
-
-
Constructor Details
-
CommandButtonBase
public CommandButtonBase()
-
-
Method Details
-
getFamily
- Overrides:
getFamilyin classjavax.faces.component.UICommand
-
getWidgetVar
-
setWidgetVar
-
isAjax
public boolean isAjax() -
setAjax
public void setAjax(boolean ajax) -
isAsync
public boolean isAsync()- Specified by:
isAsyncin interfaceAjaxSource
-
setAsync
public void setAsync(boolean async) -
getProcess
- Specified by:
getProcessin interfaceAjaxSource
-
setProcess
-
getUpdate
- Specified by:
getUpdatein interfaceAjaxSource
-
setUpdate
-
getOnstart
- Specified by:
getOnstartin interfaceAjaxSource
-
setOnstart
-
getOncomplete
- Specified by:
getOncompletein interfaceAjaxSource
-
setOncomplete
-
getOnerror
- Specified by:
getOnerrorin interfaceAjaxSource
-
setOnerror
-
getOnsuccess
- Specified by:
getOnsuccessin interfaceAjaxSource
-
setOnsuccess
-
isGlobal
public boolean isGlobal()- Specified by:
isGlobalin interfaceAjaxSource
-
setGlobal
public void setGlobal(boolean global) -
getDelay
- Specified by:
getDelayin interfaceAjaxSource
-
setDelay
-
getTimeout
public int getTimeout()- Specified by:
getTimeoutin interfaceAjaxSource
-
setTimeout
public void setTimeout(int timeout) -
isPartialSubmit
public boolean isPartialSubmit()- Specified by:
isPartialSubmitin interfaceAjaxSource
-
setPartialSubmit
public void setPartialSubmit(boolean partialSubmit) -
isResetValues
public boolean isResetValues()- Specified by:
isResetValuesin interfaceAjaxSource
-
setResetValues
public void setResetValues(boolean resetValues) -
isIgnoreAutoUpdate
public boolean isIgnoreAutoUpdate()- Specified by:
isIgnoreAutoUpdatein interfaceAjaxSource
-
setIgnoreAutoUpdate
public void setIgnoreAutoUpdate(boolean ignoreAutoUpdate) -
getIcon
-
setIcon
-
getIconPos
-
setIconPos
-
isInline
public boolean isInline() -
setInline
public void setInline(boolean inline) -
isEscape
public boolean isEscape() -
setEscape
public void setEscape(boolean escape) -
isValidateClient
public boolean isValidateClient() -
setValidateClient
public void setValidateClient(boolean validateClient) -
getPartialSubmitFilter
- Specified by:
getPartialSubmitFilterin interfaceAjaxSource
-
setPartialSubmitFilter
-
getForm
- Specified by:
getFormin interfaceAjaxSource
-
setForm
-
isRenderDisabledClick
public boolean isRenderDisabledClick() -
setRenderDisabledClick
public void setRenderDisabledClick(boolean renderDisabledClick) -
getAriaLabel
-
setAriaLabel
-
isIgnoreComponentNotFound
public boolean isIgnoreComponentNotFound()- Specified by:
isIgnoreComponentNotFoundin interfaceAjaxSource
-
setIgnoreComponentNotFound
public void setIgnoreComponentNotFound(boolean ignoreComponentNotFound) -
isDisableOnAjax
public boolean isDisableOnAjax() -
setDisableOnAjax
public void setDisableOnAjax(boolean disableOnAjax)
-