|
||||||||||
| 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 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, getActionListener, getActionListeners, getValue, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, 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 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)
public Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class HtmlCommandLink
public void restoreState(javax.faces.context.FacesContext facesContext,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class HtmlCommandLink
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||