public abstract class PushButtonBase extends javax.faces.component.UICommand implements IPushButton, IceClientBehaviorHolder
For more information, see the PushButton Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PushButtonBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
PushButtonBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.String |
getAccesskey()
Return the value of the
accesskey property. |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getLabel()
Return the value of the
label property. |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.Integer |
getTabindex()
Return the value of the
tabindex property. |
java.lang.String |
getType()
Return the value of the
type property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
boolean |
isOfflineDisabled()
Return the value of the
offlineDisabled property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setAccesskey(java.lang.String accesskey)
Set the value of the
accesskey property. |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setLabel(java.lang.String label)
Set the value of the
label property. |
void |
setOfflineDisabled(boolean offlineDisabled)
Set the value of the
offlineDisabled property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setTabindex(java.lang.Integer tabindex)
Set the value of the
tabindex property. |
void |
setType(java.lang.String type)
Set the value of the
type property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValueaddFacesListener, 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, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UICommandpublic void setAccesskey(java.lang.String accesskey)
Set the value of the accesskey property.
Contents: Access key that, when pressed, transfers focus to this component.
setAccesskey in interface IPushButtonpublic java.lang.String getAccesskey()
Return the value of the accesskey property.
Contents: Access key that, when pressed, transfers focus to this component.
getAccesskey in interface IPushButtonpublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: If true, no input may be submitted via this component.
setDisabled in interface IPushButtonpublic boolean isDisabled()
Return the value of the disabled property.
Contents: If true, no input may be submitted via this component. Default = 'false'.
isDisabled in interface IPushButtonpublic void setLabel(java.lang.String label)
Set the value of the label property.
Contents: A localized user presentable name for this component.
setLabel in interface IPushButtonpublic java.lang.String getLabel()
Return the value of the label property.
Contents: A localized user presentable name for this component.
getLabel in interface IPushButtonpublic void setOfflineDisabled(boolean offlineDisabled)
Set the value of the offlineDisabled property.
Contents: If true, no input may be submitted via this component when browser is offline.
setOfflineDisabled in interface IPushButtonpublic boolean isOfflineDisabled()
Return the value of the offlineDisabled property.
Contents: If true, no input may be submitted via this component when browser is offline. Default = 'false'.
isOfflineDisabled in interface IPushButtonpublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: The inline style of the component, rendered on the root div of the component.
setStyle in interface IPushButtonpublic java.lang.String getStyle()
Return the value of the style property.
Contents: The inline style of the component, rendered on the root div of the component.
getStyle in interface IPushButtonpublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: The CSS style class of the component, rendered on the root div of the component.
setStyleClass in interface IPushButtonpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: The CSS style class of the component, rendered on the root div of the component.
getStyleClass in interface IPushButtonpublic void setTabindex(java.lang.Integer tabindex)
Set the value of the tabindex property.
Contents: Tabindex of the component.
setTabindex in interface IPushButtonpublic java.lang.Integer getTabindex()
Return the value of the tabindex property.
Contents: Tabindex of the component.
getTabindex in interface IPushButtonpublic void setType(java.lang.String type)
Set the value of the type property.
Contents: Specifies the button type. The possible values are 'button', 'submit', 'clear' and 'reset'. The 'button' type is the original and standard mode, where the button submits the form when activated. The 'submit' type lets the browser handle the request natively, without ICEfaces intervention (Note that if the component has a listener or an ajax event attached to it an additional request will be made, handled by ICEfaces). If the type is 'clear', the component acts in a special way: the button will act in a client-side mode, clearing all fields and components in the form it is contained in. If the type is 'reset', the component will reset all the input elements and components to their original values at the time they were loaded. The button will not submit the form in the 'clear' and 'reset' modes, unless the component has a listener or an ajax event attached to it.
setType in interface IPushButtonpublic java.lang.String getType()
Return the value of the type property.
Contents: Specifies the button type. The possible values are 'button', 'submit', 'clear' and 'reset'. The 'button' type is the original and standard mode, where the button submits the form when activated. The 'submit' type lets the browser handle the request natively, without ICEfaces intervention (Note that if the component has a listener or an ajax event attached to it an additional request will be made, handled by ICEfaces). If the type is 'clear', the component acts in a special way: the button will act in a client-side mode, clearing all fields and components in the form it is contained in. If the type is 'reset', the component will reset all the input elements and components to their original values at the time they were loaded. The button will not submit the form in the 'clear' and 'reset' modes, unless the component has a listener or an ajax event attached to it. Default = 'button'.
getType in interface IPushButtonprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.