|
||||||||||
| 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
org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlCommandNavigationItem
public class HtmlCommandNavigationItem
| Nested Class Summary | |
|---|---|
protected static class |
HtmlCommandNavigationItem.PropertyKeys
|
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_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 | |
|---|---|
HtmlCommandNavigationItem()
|
|
| Method Summary | |
|---|---|
String |
getActiveOnViewIds()
A semicolon separated list of viewIds for which this item should be active. |
String |
getExternalLink()
The external link where to redirect when this is clicked. |
String |
getFamily()
|
boolean |
isActive()
Menu node is active. |
protected boolean |
isLocalActive()
|
protected boolean |
isLocalOpen()
|
boolean |
isOpen()
Menu node is open. |
protected boolean |
isSetActive()
|
protected boolean |
isSetOpen()
|
void |
setActive(boolean active)
|
void |
setActiveOnViewIds(String activeOnViewIds)
|
void |
setExternalLink(String externalLink)
|
void |
setOpen(boolean open)
|
| Methods inherited from class org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlCommandNavigationItem |
|---|
broadcast, deactivateAll, deactivateChildren, getActiveDirectly, getActiveOnVieIds, getOpenDirectly, isImmediate, isRendered, setImmediate, toggleOpen |
| Methods inherited from class org.apache.myfaces.component.html.ext.HtmlCommandLink |
|---|
getActionFor, getDisabledStyle, getDisabledStyleClass, getEnabledOnUserRole, 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 String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
| Constructor Detail |
|---|
public HtmlCommandNavigationItem()
| Method Detail |
|---|
public String getFamily()
getFamily in class HtmlCommandLinkprotected boolean isSetOpen()
isSetOpen in class AbstractHtmlCommandNavigationItemprotected final boolean isLocalOpen()
isLocalOpen in class AbstractHtmlCommandNavigationItempublic boolean isOpen()
AbstractHtmlCommandNavigationItem
isOpen in class AbstractHtmlCommandNavigationItempublic void setOpen(boolean open)
setOpen in class AbstractHtmlCommandNavigationItemprotected boolean isSetActive()
isSetActive in class AbstractHtmlCommandNavigationItemprotected final boolean isLocalActive()
isLocalActive in class AbstractHtmlCommandNavigationItempublic boolean isActive()
AbstractHtmlCommandNavigationItem
isActive in class AbstractHtmlCommandNavigationItempublic void setActive(boolean active)
setActive in class AbstractHtmlCommandNavigationItempublic String getActiveOnViewIds()
AbstractHtmlCommandNavigationItem
getActiveOnViewIds in class AbstractHtmlCommandNavigationItempublic void setActiveOnViewIds(String activeOnViewIds)
public String getExternalLink()
AbstractHtmlCommandNavigationItem
getExternalLink in class AbstractHtmlCommandNavigationItempublic void setExternalLink(String externalLink)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||