|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UICommand javax.faces.component.html.HtmlCommandLink org.apache.myfaces.component.html.ext.AbstractHtmlCommandLink org.apache.myfaces.component.html.ext.HtmlCommandLink
public class HtmlCommandLink
Nested Class Summary | |
---|---|
protected static class |
HtmlCommandLink.PropertyKeys
|
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
Constructor Summary | |
---|---|
HtmlCommandLink()
|
Method Summary | |
---|---|
java.lang.String |
getActionFor()
Comma separated list of subForm-ids for which validation and model update should take place when this command is executed. |
java.lang.String |
getDisabledStyle()
CSS-Style Attribute to render when disabled is true |
java.lang.String |
getDisabledStyleClass()
CSS-Style Class to use when disabled is true |
java.lang.String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
java.lang.String |
getFamily()
|
java.lang.String |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
boolean |
isDisabled()
When set instead of a Hyperlink a span tag is rendered in the corresponding Component |
boolean |
isForceId()
If true, this component will force the use of the specified id when rendering. |
boolean |
isForceIdIndex()
If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.) |
void |
setActionFor(java.lang.String actionFor)
|
void |
setDisabled(boolean disabled)
|
void |
setDisabledStyle(java.lang.String disabledStyle)
|
void |
setDisabledStyleClass(java.lang.String disabledStyleClass)
|
void |
setEnabledOnUserRole(java.lang.String enabledOnUserRole)
|
void |
setForceId(boolean forceId)
|
void |
setForceIdIndex(boolean forceIdIndex)
|
void |
setVisibleOnUserRole(java.lang.String visibleOnUserRole)
|
Methods inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlCommandLink |
---|
getClientId, isRendered |
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, setAccesskey, setCharset, setCoords, setDir, 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, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent |
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 |
---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String DEFAULT_RENDERER_TYPE
Constructor Detail |
---|
public HtmlCommandLink()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.html.HtmlCommandLink
public java.lang.String getActionFor()
AbstractHtmlCommandLink
getActionFor
in class AbstractHtmlCommandLink
public void setActionFor(java.lang.String actionFor)
public boolean isDisabled()
AbstractHtmlCommandLink
isDisabled
in class AbstractHtmlCommandLink
public void setDisabled(boolean disabled)
setDisabled
in class javax.faces.component.html.HtmlCommandLink
public java.lang.String getDisabledStyle()
AbstractHtmlCommandLink
getDisabledStyle
in class AbstractHtmlCommandLink
public void setDisabledStyle(java.lang.String disabledStyle)
public java.lang.String getDisabledStyleClass()
AbstractHtmlCommandLink
getDisabledStyleClass
in class AbstractHtmlCommandLink
public void setDisabledStyleClass(java.lang.String disabledStyleClass)
public java.lang.String getEnabledOnUserRole()
UserRoleAware
public void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
public java.lang.String getVisibleOnUserRole()
UserRoleAware
public void setVisibleOnUserRole(java.lang.String visibleOnUserRole)
public boolean isForceId()
ForceIdAware
public void setForceId(boolean forceId)
public boolean isForceIdIndex()
ForceIdAware
public void setForceIdIndex(boolean forceIdIndex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |