public abstract class LinkButtonBase extends javax.faces.component.UICommand implements ILinkButton, IceClientBehaviorHolder
For more information, see the LinkButton Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
LinkButtonBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
LinkButtonBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
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 |
getHref()
Return the value of the
href property. |
java.lang.String |
getHrefLang()
Return the value of the
hrefLang 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 |
getTarget()
Return the value of the
target property. |
java.lang.Object |
getValue()
Return the value of the
value property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setHref(java.lang.String href)
Set the value of the
href property. |
void |
setHrefLang(java.lang.String hrefLang)
Set the value of the
hrefLang 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 |
setTarget(java.lang.String target)
Set the value of the
target property. |
void |
setValue(java.lang.Object value)
Set the value of the
value property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediateaddFacesListener, 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 setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: If true, clicking the button does not send a request to the server, and also no page is loaded if href attribute was specified.
setDisabled in interface ILinkButtonpublic boolean isDisabled()
Return the value of the disabled property.
Contents: If true, clicking the button does not send a request to the server, and also no page is loaded if href attribute was specified. Default = 'false'.
isDisabled in interface ILinkButtonpublic void setHref(java.lang.String href)
Set the value of the href property.
Contents: Href attribute of the anchor element. If specified and actionListener is absent, linkButton works as a normal anchor. If specified and actionListener is present, linkButton works as AJAX event source, but href may be opened in a new tab or window.
setHref in interface ILinkButtonpublic java.lang.String getHref()
Return the value of the href property.
Contents: Href attribute of the anchor element. If specified and actionListener is absent, linkButton works as a normal anchor. If specified and actionListener is present, linkButton works as AJAX event source, but href may be opened in a new tab or window.
getHref in interface ILinkButtonpublic void setHrefLang(java.lang.String hrefLang)
Set the value of the hrefLang property.
Contents: Standard HTML href language attribute.
setHrefLang in interface ILinkButtonpublic java.lang.String getHrefLang()
Return the value of the hrefLang property.
Contents: Standard HTML href language attribute.
getHrefLang in interface ILinkButtonpublic 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 ILinkButtonpublic 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 ILinkButtonpublic 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 ILinkButtonpublic 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 ILinkButtonpublic void setTabindex(java.lang.Integer tabindex)
Set the value of the tabindex property.
Contents: Tabindex of the component.
setTabindex in interface ILinkButtonpublic java.lang.Integer getTabindex()
Return the value of the tabindex property.
Contents: Tabindex of the component.
getTabindex in interface ILinkButtonpublic void setTarget(java.lang.String target)
Set the value of the target property.
Contents: If the link is a traditional anchor then this is the traditional target attribute.
setTarget in interface ILinkButtonpublic java.lang.String getTarget()
Return the value of the target property.
Contents: If the link is a traditional anchor then this is the traditional target attribute.
getTarget in interface ILinkButtonpublic void setValue(java.lang.Object value)
Set the value of the value property.
Contents: This property defines the link text visible in the component.
setValue in interface ILinkButtonsetValue in class javax.faces.component.UICommandpublic java.lang.Object getValue()
Return the value of the value property.
Contents: This property defines the link text visible in the component. Default = 'Default Anchor Label'.
getValue in interface ILinkButtongetValue in class javax.faces.component.UICommandprotected 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 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.