|
||||||||||
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
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.faces.component.html.HtmlOutputLink |
---|
javax.faces.component.html.HtmlOutputLink.PropertyKeys |
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class javax.faces.component.html.HtmlOutputLink |
---|
COMPONENT_FAMILY |
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 |
Constructor Summary | |
---|---|
AbstractToggleLink()
|
Method Summary | |
---|---|
abstract java.lang.String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
abstract java.lang.String |
getFor()
The class which implements org.apache.myfaces.custom.dynamicResources.ResourceRenderer. |
abstract java.lang.Boolean |
getForceId()
If true, this component will force the use of the specified id when rendering. |
abstract 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.) |
abstract java.lang.String |
getOnClickFocusId()
Id of the component that will be focused when toggleLink is clicked |
abstract java.lang.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(java.lang.String userRole)
|
abstract void |
setForceId(java.lang.Boolean forceId)
|
abstract void |
setForceIdIndex(java.lang.Boolean forceIdIndex)
|
abstract void |
setVisibleOnUserRole(java.lang.String userRole)
|
Methods inherited from class javax.faces.component.html.HtmlOutputLink |
---|
getAccesskey, getCharset, getCoords, getDir, getEventNames, getFamily, getFragment, 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, setDisabled, setFragment, 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 |
---|
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, 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, getDefaultEventName |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String DEFAULT_RENDERER_TYPE
Constructor Detail |
---|
public AbstractToggleLink()
Method Detail |
---|
public abstract java.lang.String getFor()
public abstract boolean isDisabled()
isDisabled
in class javax.faces.component.html.HtmlOutputLink
public abstract java.lang.String getOnClickFocusId()
public abstract java.lang.Boolean getForceId()
public abstract void setForceId(java.lang.Boolean forceId)
public abstract java.lang.Boolean getForceIdIndex()
public abstract void setForceIdIndex(java.lang.Boolean forceIdIndex)
public abstract java.lang.String getEnabledOnUserRole()
public abstract void setEnabledOnUserRole(java.lang.String userRole)
public abstract java.lang.String getVisibleOnUserRole()
public abstract void setVisibleOnUserRole(java.lang.String userRole)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |