|
||||||||||
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.UICommand
javax.faces.component.html.HtmlCommandLink
org.apache.myfaces.component.html.ext.AbstractHtmlCommandLink
org.apache.myfaces.component.html.ext.HtmlCommandLink
org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlCommandNavigationItem
public abstract class AbstractHtmlCommandNavigationItem
Must be nested inside a panel_navigation action and renders a clickable navigation item. This action is derived from the standard command_link action and has equal attributes. (Replaces former "navigation_item" tag.) Unless otherwise specified, all attributes accept static values or EL expressions. Many thanks to the guys from Swiss Federal Institute of Intellectual Property and Marc Bouquet for helping to develop this component.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.myfaces.component.html.ext.HtmlCommandLink |
---|
HtmlCommandLink.PropertyKeys |
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
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 |
Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
Constructor Summary | |
---|---|
AbstractHtmlCommandNavigationItem()
|
Method Summary | |
---|---|
void |
broadcast(javax.faces.event.FacesEvent event)
|
void |
deactivateAll()
|
void |
deactivateChildren()
|
java.lang.Boolean |
getActiveDirectly()
|
java.lang.String[] |
getActiveOnVieIds()
|
abstract java.lang.String |
getActiveOnViewIds()
A comma separated list of viewIds for which this item should be active. |
abstract java.lang.String |
getExternalLink()
The external link where to redirect when this is clicked. |
java.lang.Boolean |
getOpenDirectly()
|
abstract boolean |
isActive()
Menu node is active. |
boolean |
isImmediate()
|
protected abstract boolean |
isLocalActive()
|
protected abstract boolean |
isLocalOpen()
|
abstract boolean |
isOpen()
Menu node is open. |
boolean |
isRendered()
|
protected abstract boolean |
isSetActive()
|
protected abstract boolean |
isSetOpen()
|
abstract void |
setActive(boolean active)
|
void |
setImmediate(java.lang.Boolean immediate)
|
abstract void |
setOpen(boolean open)
|
void |
toggleOpen()
|
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlCommandLink |
---|
getActionFor, getDisabledStyle, getDisabledStyleClass, getEnabledOnUserRole, getFamily, getVisibleOnUserRole, isDisabled, isForceId, isForceIdIndex, setActionFor, setDisabled, setDisabledStyle, setDisabledStyleClass, setEnabledOnUserRole, setForceId, setForceIdIndex, setVisibleOnUserRole |
Methods inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlCommandLink |
---|
getClientId |
Methods inherited from class javax.faces.component.html.HtmlCommandLink |
---|
getAccesskey, getCharset, getCoords, getDefaultEventName, getDir, getEventNames, 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.UICommand |
---|
addActionListener, getAction, getActionExpression, getActionListener, getActionListeners, getValue, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, 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 |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
Constructor Detail |
---|
public AbstractHtmlCommandNavigationItem()
Method Detail |
---|
public boolean isImmediate()
isImmediate
in interface javax.faces.component.ActionSource
isImmediate
in class javax.faces.component.UICommand
public void setImmediate(java.lang.Boolean immediate)
public abstract boolean isOpen()
protected abstract boolean isSetOpen()
protected abstract boolean isLocalOpen()
public abstract void setOpen(boolean open)
public java.lang.Boolean getOpenDirectly()
public java.lang.Boolean getActiveDirectly()
public abstract boolean isActive()
protected abstract boolean isSetActive()
protected abstract boolean isLocalActive()
public abstract void setActive(boolean active)
public abstract java.lang.String getActiveOnViewIds()
public abstract java.lang.String getExternalLink()
public boolean isRendered()
isRendered
in class AbstractHtmlCommandLink
public void toggleOpen()
public java.lang.String[] getActiveOnVieIds()
public void deactivateAll()
public void deactivateChildren()
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class javax.faces.component.UICommand
javax.faces.event.AbortProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |