|
||||||||||
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
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
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 comma 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 |
restoreState(javax.faces.context.FacesContext facesContext,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
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, 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.UICommand |
---|
addActionListener, getAction, getActionExpression, getActionListener, getActionListeners, getValue, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, 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 HtmlCommandNavigationItem()
Method Detail |
---|
public String getFamily()
getFamily
in class HtmlCommandLink
protected boolean isSetOpen()
isSetOpen
in class AbstractHtmlCommandNavigationItem
protected final boolean isLocalOpen()
isLocalOpen
in class AbstractHtmlCommandNavigationItem
public boolean isOpen()
AbstractHtmlCommandNavigationItem
isOpen
in class AbstractHtmlCommandNavigationItem
public void setOpen(boolean open)
setOpen
in class AbstractHtmlCommandNavigationItem
protected boolean isSetActive()
isSetActive
in class AbstractHtmlCommandNavigationItem
protected final boolean isLocalActive()
isLocalActive
in class AbstractHtmlCommandNavigationItem
public boolean isActive()
AbstractHtmlCommandNavigationItem
isActive
in class AbstractHtmlCommandNavigationItem
public void setActive(boolean active)
setActive
in class AbstractHtmlCommandNavigationItem
public String getActiveOnViewIds()
AbstractHtmlCommandNavigationItem
getActiveOnViewIds
in class AbstractHtmlCommandNavigationItem
public void setActiveOnViewIds(String activeOnViewIds)
public String getExternalLink()
AbstractHtmlCommandNavigationItem
getExternalLink
in class AbstractHtmlCommandNavigationItem
public void setExternalLink(String externalLink)
public Object saveState(javax.faces.context.FacesContext facesContext)
saveState
in interface javax.faces.component.StateHolder
saveState
in class HtmlCommandLink
public void restoreState(javax.faces.context.FacesContext facesContext, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class HtmlCommandLink
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |