public class MenuItemTag extends LinkTag
| Modifier and Type | Field and Description |
|---|---|
protected String |
menuId |
protected MenuListTag |
parentMenu |
| Constructor and Description |
|---|
MenuItemTag() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
appendStyleClass(String styleClass,
String newClass) |
void |
encodeBegin(javax.faces.context.FacesContext context) |
void |
encodeChildren(javax.faces.context.FacesContext context) |
void |
encodeEnd(javax.faces.context.FacesContext context) |
protected void |
encodeLinkComponent(javax.faces.context.FacesContext context,
javax.faces.component.html.HtmlOutcomeTargetLink linkComponent) |
protected MenuListTag |
findParentMenu() |
String |
getFamily() |
protected String |
getLinkStyleClass() |
boolean |
getRendersChildren() |
protected String |
getStyleClass() |
protected boolean |
isCurrent() |
protected boolean |
isDisabled() |
protected boolean |
isEncodeLinkChildren(Object linkValue) |
protected boolean |
isExpanded() |
protected boolean |
isParent() |
boolean |
isRendered() |
void |
setId(String id) |
addOrSetParam, addOrSetParams, createOutcomeTargetLink, encodeImage, forceEncodeChildren, getClientId, getLinkComponent, getLinkValue, isLinkDisabled, setLinkProperties, visitTree, writeStartElementclearInitialState, getConverter, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValueaddClientBehavior, addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpressionprotected MenuListTag parentMenu
protected String menuId
public void encodeBegin(javax.faces.context.FacesContext context)
throws IOException
encodeBegin in class LinkTagIOExceptionpublic boolean getRendersChildren()
getRendersChildren in class javax.faces.component.UIComponentBasepublic void encodeChildren(javax.faces.context.FacesContext context)
throws IOException
encodeChildren in class LinkTagIOExceptionpublic void encodeEnd(javax.faces.context.FacesContext context)
throws IOException
encodeEnd in class LinkTagIOExceptionprotected String getLinkStyleClass()
getLinkStyleClass in class LinkTagprotected MenuListTag findParentMenu()
protected boolean isCurrent()
protected boolean isParent()
protected boolean isDisabled()
protected boolean isExpanded()
public boolean isRendered()
isRendered in class javax.faces.component.UIComponentBaseprotected String getStyleClass()
protected boolean isEncodeLinkChildren(Object linkValue)
isEncodeLinkChildren in class LinkTagprotected void encodeLinkComponent(javax.faces.context.FacesContext context,
javax.faces.component.html.HtmlOutcomeTargetLink linkComponent)
throws IOException
encodeLinkComponent in class LinkTagIOExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.