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