org.apache.myfaces.custom.navmenu
Class UINavigationMenuItem
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UISelectItem
org.apache.myfaces.custom.navmenu.UINavigationMenuItem
- All Implemented Interfaces:
- javax.faces.component.ActionSource, javax.faces.component.StateHolder, UserRoleAware
public class UINavigationMenuItem
- extends javax.faces.component.UISelectItem
- implements UserRoleAware, javax.faces.component.ActionSource
- Version:
- $Revision: 472638 $ $Date: 2006-11-08 21:54:13 +0100 (Mi, 08 Nov 2006) $
- Author:
- Thomas Spiegl (latest modification by $Author: grantsmith $)
Methods inherited from class javax.faces.component.UISelectItem |
getItemDescription, getItemLabel, getItemValue, getValue, isItemDisabled, setItemDescription, setItemDisabled, setItemLabel, setItemValue, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, 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 |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
UINavigationMenuItem
public UINavigationMenuItem()
getFamily
public java.lang.String getFamily()
- Overrides:
getFamily
in class javax.faces.component.UISelectItem
setIcon
public void setIcon(java.lang.String icon)
getIcon
public java.lang.String getIcon()
setSplit
public void setSplit(boolean split)
isSplit
public boolean isSplit()
setOpen
public void setOpen(boolean open)
isOpen
public boolean isOpen()
setActive
public void setActive(boolean active)
isActive
public boolean isActive()
setImmediate
public void setImmediate(boolean immediate)
- Specified by:
setImmediate
in interface javax.faces.component.ActionSource
isImmediate
public boolean isImmediate()
- Specified by:
isImmediate
in interface javax.faces.component.ActionSource
getExternalLink
public java.lang.String getExternalLink()
setExternalLink
public void setExternalLink(java.lang.String externalLink)
setAction
public void setAction(javax.faces.el.MethodBinding action)
- Specified by:
setAction
in interface javax.faces.component.ActionSource
getAction
public javax.faces.el.MethodBinding getAction()
- Specified by:
getAction
in interface javax.faces.component.ActionSource
setActionListener
public void setActionListener(javax.faces.el.MethodBinding actionListener)
- Specified by:
setActionListener
in interface javax.faces.component.ActionSource
getActionListener
public javax.faces.el.MethodBinding getActionListener()
- Specified by:
getActionListener
in interface javax.faces.component.ActionSource
addActionListener
public void addActionListener(javax.faces.event.ActionListener listener)
- Specified by:
addActionListener
in interface javax.faces.component.ActionSource
getActionListeners
public javax.faces.event.ActionListener[] getActionListeners()
- Specified by:
getActionListeners
in interface javax.faces.component.ActionSource
removeActionListener
public void removeActionListener(javax.faces.event.ActionListener listener)
- Specified by:
removeActionListener
in interface javax.faces.component.ActionSource
setEnabledOnUserRole
public void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
- Specified by:
setEnabledOnUserRole
in interface UserRoleAware
getEnabledOnUserRole
public java.lang.String getEnabledOnUserRole()
- Specified by:
getEnabledOnUserRole
in interface UserRoleAware
setVisibleOnUserRole
public void setVisibleOnUserRole(java.lang.String visibleOnUserRole)
- Specified by:
setVisibleOnUserRole
in interface UserRoleAware
getVisibleOnUserRole
public java.lang.String getVisibleOnUserRole()
- Specified by:
getVisibleOnUserRole
in interface UserRoleAware
setTarget
public void setTarget(java.lang.String target)
getTarget
public java.lang.String getTarget()
setDisabled
public void setDisabled(boolean disabled)
isDisabled
public boolean isDisabled()
getDisabledStyle
public java.lang.String getDisabledStyle()
setDisabledStyle
public void setDisabledStyle(java.lang.String disabledStyle)
broadcast
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
- Overrides:
broadcast
in class javax.faces.component.UIComponentBase
- Throws:
javax.faces.event.AbortProcessingException
- See Also:
UIComponent.broadcast(javax.faces.event.FacesEvent)
getDisabledStyleClass
public java.lang.String getDisabledStyleClass()
setDisabledStyleClass
public void setDisabledStyleClass(java.lang.String disabledStyleClass)
getActiveOnViewIds
public java.lang.String getActiveOnViewIds()
getActiveOnViewIdsDirectly
public java.lang.String getActiveOnViewIdsDirectly()
setActiveOnViewIds
public void setActiveOnViewIds(java.lang.String activeOnViewIds)
isRendered
public boolean isRendered()
- Overrides:
isRendered
in class javax.faces.component.UIComponentBase
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class javax.faces.component.UISelectItem
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class javax.faces.component.UISelectItem
toggleActive
public void toggleActive(javax.faces.context.FacesContext context)
deactivateAll
public void deactivateAll()
deactivateChildren
public void deactivateChildren()
getActiveDirectly
public java.lang.Boolean getActiveDirectly()
Copyright © 2010. All Rights Reserved.