|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.html.HtmlOutputLink
org.apache.myfaces.custom.outputlinkdynamic.AbstractOutputLinkDynamic
public abstract class AbstractOutputLinkDynamic
Extends standard outputLink but links to a dynamically rendered resource (image, file, ...).
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_TYPE
|
| Fields inherited from class javax.faces.component.html.HtmlOutputLink |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
|---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
| Constructor Summary | |
|---|---|
AbstractOutputLinkDynamic()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
java.lang.Class |
getResourceRendererClass()
The class which implements org.apache.myfaces.custom.dynamicResources.ResourceRenderer. |
abstract java.lang.String |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
abstract boolean |
isForceId()
If true, this component will force the use of the specified id when rendering. |
abstract 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 |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
abstract void |
setEnabledOnUserRole(java.lang.String userRole)
|
abstract void |
setForceId(boolean forceId)
|
abstract void |
setForceIdIndex(boolean forceIdIndex)
|
void |
setImageRendererClass(java.lang.Class resourceRendererClass)
|
abstract void |
setVisibleOnUserRole(java.lang.String userRole)
|
| Methods inherited from class javax.faces.component.html.HtmlOutputLink |
|---|
getAccesskey, getCharset, getCoords, getDir, getFamily, 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.UIOutput |
|---|
getConverter, getLocalValue, getValue, setConverter, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_TYPE
| Constructor Detail |
|---|
public AbstractOutputLinkDynamic()
| Method Detail |
|---|
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.html.HtmlOutputLink
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.html.HtmlOutputLinkpublic void setImageRendererClass(java.lang.Class resourceRendererClass)
public java.lang.Class getResourceRendererClass()
public abstract java.lang.String getEnabledOnUserRole()
getEnabledOnUserRole in interface org.apache.myfaces.component.UserRoleAwarepublic abstract void setEnabledOnUserRole(java.lang.String userRole)
setEnabledOnUserRole in interface org.apache.myfaces.component.UserRoleAwarepublic abstract java.lang.String getVisibleOnUserRole()
getVisibleOnUserRole in interface org.apache.myfaces.component.UserRoleAwarepublic abstract void setVisibleOnUserRole(java.lang.String userRole)
setVisibleOnUserRole in interface org.apache.myfaces.component.UserRoleAwarepublic abstract boolean isForceId()
isForceId in interface org.apache.myfaces.component.ForceIdAwarepublic abstract void setForceId(boolean forceId)
setForceId in interface org.apache.myfaces.component.ForceIdAwarepublic abstract boolean isForceIdIndex()
isForceIdIndex in interface org.apache.myfaces.component.ForceIdAwarepublic abstract void setForceIdIndex(boolean forceIdIndex)
setForceIdIndex in interface org.apache.myfaces.component.ForceIdAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||