|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UISelectItem org.apache.myfaces.custom.navmenu.AbstractUINavigationMenuItem
@JSFComponent(name="t:navigationMenuItem", bodyContent="JSP", clazz="org.apache.myfaces.custom.navmenu.UINavigationMenuItem", tagClass="org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemTag") public abstract class AbstractUINavigationMenuItem
A menu item. Used by navigationMenu, jscookMenu. Unless otherwise specified, all attributes accept static values or EL expressions.
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_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 | |
---|---|
AbstractUINavigationMenuItem()
|
Method Summary | |
---|---|
void |
addActionListener(javax.faces.event.ActionListener listener)
|
void |
broadcast(javax.faces.event.FacesEvent event)
|
void |
deactivateAll()
|
void |
deactivateChildren()
|
javax.faces.el.MethodBinding |
getAction()
Deprecated. Use getActionExpression() instead. |
abstract javax.el.MethodExpression |
getActionExpression()
Specifies the action to take when this command is invoked. |
abstract javax.faces.el.MethodBinding |
getActionListener()
A method binding EL expression that identifies an action listener method to be invoked if this component is activated by the user. |
javax.faces.event.ActionListener[] |
getActionListeners()
|
Boolean |
getActiveDirectly()
|
abstract String |
getActiveOnViewIds()
|
String |
getActiveOnViewIdsDirectly()
|
abstract String |
getDisabledStyle()
CSS-Style Attribute to render when disabled is true |
abstract String |
getDisabledStyleClass()
CSS-Style Class to use when disabled is true |
abstract String |
getExternalLink()
|
String |
getFamily()
|
abstract String |
getIcon()
|
protected abstract String |
getLocalActiveOnViewIds()
|
abstract String |
getTarget()
|
abstract boolean |
isActive()
|
abstract boolean |
isDisabled()
When set instead of a Hyperlink a span tag is rendered in the corresponding Component |
abstract boolean |
isImmediate()
|
abstract boolean |
isOpen()
|
boolean |
isRendered()
A boolean value that indicates whether this component should be rendered. |
abstract boolean |
isSplit()
|
void |
removeActionListener(javax.faces.event.ActionListener listener)
|
void |
setAction(javax.faces.el.MethodBinding action)
Deprecated. Use setActionExpression instead. |
abstract void |
setActionExpression(javax.el.MethodExpression actionExpression)
|
abstract void |
setActionListener(javax.faces.el.MethodBinding actionListener)
|
abstract void |
setActive(boolean active)
|
abstract void |
setOpen(boolean open)
|
void |
toggleActive(javax.faces.context.FacesContext context)
|
Methods inherited from class javax.faces.component.UISelectItem |
---|
getItemDescription, getItemLabel, getItemValue, getValue, isItemDisabled, isItemEscaped, restoreState, saveState, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, setRendered, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, 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 |
Methods inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
getEnabledOnUserRole, getVisibleOnUserRole, setEnabledOnUserRole, setVisibleOnUserRole |
Methods inherited from interface javax.faces.component.ActionSource |
---|
setImmediate |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
Constructor Detail |
---|
public AbstractUINavigationMenuItem()
Method Detail |
---|
public String getFamily()
getFamily
in class javax.faces.component.UISelectItem
@JSFProperty public abstract String getIcon()
@JSFProperty(defaultValue="false") public abstract boolean isSplit()
@JSFProperty(defaultValue="false", tagExcluded=true) public abstract boolean isOpen()
public abstract void setOpen(boolean open)
public abstract void setActive(boolean active)
@JSFProperty(defaultValue="false", tagExcluded=true) public abstract boolean isActive()
@JSFProperty(defaultValue="true", tagExcluded=true) public abstract boolean isImmediate()
isImmediate
in interface javax.faces.component.ActionSource
@JSFProperty(tagExcluded=true) public abstract String getExternalLink()
@JSFProperty(stateHolder=true, literalOnly=true, returnSignature="java.lang.Object", jspName="action") public abstract javax.el.MethodExpression getActionExpression()
public javax.faces.el.MethodBinding getAction()
getAction
in interface javax.faces.component.ActionSource
public abstract void setActionExpression(javax.el.MethodExpression actionExpression)
public void setAction(javax.faces.el.MethodBinding action)
setAction
in interface javax.faces.component.ActionSource
public abstract void setActionListener(javax.faces.el.MethodBinding actionListener)
setActionListener
in interface javax.faces.component.ActionSource
@JSFProperty(stateHolder=true, literalOnly=true, returnSignature="void", methodSignature="javax.faces.event.ActionEvent") public abstract javax.faces.el.MethodBinding getActionListener()
getActionListener
in interface javax.faces.component.ActionSource
public void addActionListener(javax.faces.event.ActionListener listener)
addActionListener
in interface javax.faces.component.ActionSource
public javax.faces.event.ActionListener[] getActionListeners()
getActionListeners
in interface javax.faces.component.ActionSource
public void removeActionListener(javax.faces.event.ActionListener listener)
removeActionListener
in interface javax.faces.component.ActionSource
@JSFProperty public abstract String getTarget()
@JSFProperty(defaultValue="false") public abstract boolean isDisabled()
@JSFProperty public abstract String getDisabledStyle()
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class javax.faces.component.UIComponentBase
javax.faces.event.AbortProcessingException
UIComponent.broadcast(javax.faces.event.FacesEvent)
@JSFProperty public abstract String getDisabledStyleClass()
@JSFProperty(localMethod=true, tagExcluded=true) public abstract String getActiveOnViewIds()
protected abstract String getLocalActiveOnViewIds()
public String getActiveOnViewIdsDirectly()
@JSFProperty(tagExcluded=false) public boolean isRendered()
isRendered
in class javax.faces.component.UIComponentBase
public void toggleActive(javax.faces.context.FacesContext context)
public void deactivateAll()
public void deactivateChildren()
public Boolean getActiveDirectly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |