|
||||||||||
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.UIOutput javax.faces.component.html.HtmlOutputLink org.apache.myfaces.custom.toggle.AbstractToggleLink
public abstract class AbstractToggleLink
Extends standard outputLink but links to a dynamically rendered resource (image, file, ...). Should be nested within an HtmlToggleGroup component. Controls nested within this component will be displayed in 'view' mode, controls outside this component (within the parent HtmlToggleGroup) will be displayed in 'edit' mode.
Field Summary | |
---|---|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class javax.faces.component.UIOutput |
---|
COMPONENT_FAMILY |
Constructor Summary | |
---|---|
AbstractToggleLink()
|
Method Summary | |
---|---|
abstract String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
abstract String |
getFor()
The class which implements org.apache.myfaces.custom.dynamicResources.ResourceRenderer. |
abstract Boolean |
getForceId()
If true, this component will force the use of the specified id when rendering. |
abstract Boolean |
getForceIdIndex()
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.) |
abstract String |
getOnClickFocusId()
Id of the component that will be focused when toggleLink is clicked |
abstract String |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
abstract boolean |
isDisabled()
HTML: When true, this element cannot receive focus. |
abstract void |
setEnabledOnUserRole(String userRole)
|
abstract void |
setForceId(Boolean forceId)
|
abstract void |
setForceIdIndex(Boolean forceIdIndex)
|
abstract void |
setVisibleOnUserRole(String userRole)
|
Methods inherited from class javax.faces.component.html.HtmlOutputLink |
---|
getAccesskey, getCharset, getCoords, getDir, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getShape, getStyle, getStyleClass, getTabindex, getTarget, getTitle, getType, restoreState, saveState, 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.UIOutput |
---|
getConverter, getFamily, 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, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
Constructor Detail |
---|
public AbstractToggleLink()
Method Detail |
---|
public abstract String getFor()
public abstract boolean isDisabled()
public abstract String getOnClickFocusId()
public abstract Boolean getForceId()
public abstract void setForceId(Boolean forceId)
public abstract Boolean getForceIdIndex()
public abstract void setForceIdIndex(Boolean forceIdIndex)
public abstract String getEnabledOnUserRole()
public abstract void setEnabledOnUserRole(String userRole)
public abstract String getVisibleOnUserRole()
public abstract void setVisibleOnUserRole(String userRole)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |