|
||||||||||
| 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.toggle.AbstractToggleLink
org.apache.myfaces.custom.toggle.ToggleLink
public class ToggleLink
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
ToggleLink()
|
|
| Method Summary | |
|---|---|
String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
String |
getFamily()
|
String |
getFor()
The class which implements org.apache.myfaces.custom.dynamicResources.ResourceRenderer. |
Boolean |
getForceId()
If true, this component will force the use of the specified id when rendering. |
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.) |
String |
getOnClickFocusId()
Id of the component that will be focused when toggleLink is clicked |
String |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
boolean |
isDisabled()
HTML: When true, this element cannot receive focus. |
void |
restoreState(javax.faces.context.FacesContext facesContext,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setDisabled(boolean disabled)
|
void |
setEnabledOnUserRole(String enabledOnUserRole)
|
void |
setFor(String forParam)
|
void |
setForceId(Boolean forceId)
|
void |
setForceIdIndex(Boolean forceIdIndex)
|
void |
setOnClickFocusId(String onClickFocusId)
|
void |
setVisibleOnUserRole(String visibleOnUserRole)
|
| 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, 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, 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 String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
| Constructor Detail |
|---|
public ToggleLink()
| Method Detail |
|---|
public String getFamily()
getFamily in class javax.faces.component.html.HtmlOutputLinkpublic String getFor()
AbstractToggleLink
getFor in class AbstractToggleLinkpublic void setFor(String forParam)
public boolean isDisabled()
AbstractToggleLink
isDisabled in class AbstractToggleLinkpublic void setDisabled(boolean disabled)
setDisabled in class javax.faces.component.html.HtmlOutputLinkpublic String getOnClickFocusId()
AbstractToggleLink
getOnClickFocusId in class AbstractToggleLinkpublic void setOnClickFocusId(String onClickFocusId)
public Boolean getForceId()
AbstractToggleLink
getForceId in class AbstractToggleLinkpublic void setForceId(Boolean forceId)
setForceId in class AbstractToggleLinkpublic Boolean getForceIdIndex()
AbstractToggleLink
getForceIdIndex in class AbstractToggleLinkpublic void setForceIdIndex(Boolean forceIdIndex)
setForceIdIndex in class AbstractToggleLinkpublic String getEnabledOnUserRole()
AbstractToggleLink
getEnabledOnUserRole in class AbstractToggleLinkpublic void setEnabledOnUserRole(String enabledOnUserRole)
setEnabledOnUserRole in class AbstractToggleLinkpublic String getVisibleOnUserRole()
AbstractToggleLink
getVisibleOnUserRole in class AbstractToggleLinkpublic void setVisibleOnUserRole(String visibleOnUserRole)
setVisibleOnUserRole in class AbstractToggleLinkpublic Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.html.HtmlOutputLink
public void restoreState(javax.faces.context.FacesContext facesContext,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.html.HtmlOutputLink
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||