org.apache.myfaces.custom.navmenu.jscookmenu
Class HtmlCommandJSCookMenu
java.lang.Object
   javax.faces.component.UIComponent
javax.faces.component.UIComponent
       javax.faces.component.UIComponentBase
javax.faces.component.UIComponentBase
           javax.faces.component.UICommand
javax.faces.component.UICommand
               org.apache.myfaces.custom.navmenu.jscookmenu.AbstractHtmlCommandJSCookMenu
org.apache.myfaces.custom.navmenu.jscookmenu.AbstractHtmlCommandJSCookMenu
                   org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu
org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu
- All Implemented Interfaces: 
- javax.faces.component.ActionSource, javax.faces.component.ActionSource2, javax.faces.component.StateHolder, LocationAware, UserRoleAware
- public class HtmlCommandJSCookMenu 
- extends AbstractHtmlCommandJSCookMenu
 
| Fields inherited from class javax.faces.component.UIComponent | 
| bindings | 
 
 
 
 
 
| Methods inherited from class javax.faces.component.UICommand | 
| addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, 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, 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 | 
 
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
DEFAULT_RENDERER_TYPE
public static final String DEFAULT_RENDERER_TYPE
- See Also:
- Constant Field Values
HtmlCommandJSCookMenu
public HtmlCommandJSCookMenu()
getFamily
public String getFamily()
- 
- Overrides:
- getFamilyin class- javax.faces.component.UICommand
 
- 
 
getLayout
public String getLayout()
- 
- Specified by:
- getLayoutin class- AbstractHtmlCommandJSCookMenu
 
- 
 
setLayout
public void setLayout(String layout)
- 
 
getTheme
public String getTheme()
- 
- Specified by:
- getThemein class- AbstractHtmlCommandJSCookMenu
 
- 
 
setTheme
public void setTheme(String theme)
- 
 
getEnabledOnUserRole
public String getEnabledOnUserRole()
- Description copied from interface: UserRoleAware
- If user is in given role, this component will be rendered 
 normally. If not, no hyperlink is rendered but all nested 
 tags (=body) are rendered.
 
- 
- Returns:
 
setEnabledOnUserRole
public void setEnabledOnUserRole(String enabledOnUserRole)
- 
 
getVisibleOnUserRole
public String getVisibleOnUserRole()
- Description copied from interface: UserRoleAware
- If user is in given role, this component will be rendered 
  normally. If not, nothing is rendered and the body of this 
  tag will be skipped.
 
- 
- Returns:
 
setVisibleOnUserRole
public void setVisibleOnUserRole(String visibleOnUserRole)
- 
 
getJavascriptLocation
public String getJavascriptLocation()
- Description copied from interface: LocationAware
- An alternate location to find javascript resources. 
  If no values is specified, javascript will be loaded 
  from the resources directory using AddResource and 
  ExtensionsFilter.
 
- 
 
setJavascriptLocation
public void setJavascriptLocation(String javascriptLocation)
- 
 
getImageLocation
public String getImageLocation()
- Description copied from interface: LocationAware
- An alternate location to find image resources. If no 
 values is specified, images will be loaded from the 
 resources directory using AddResource and ExtensionsFilter.
 
- 
 
setImageLocation
public void setImageLocation(String imageLocation)
- 
 
getStyleLocation
public String getStyleLocation()
- Description copied from interface: LocationAware
- An alternate location to find stylesheet resources. If no 
 values is specified, stylesheets will be loaded from the 
 resources directory using AddResource and ExtensionsFilter.
 
- 
 
setStyleLocation
public void setStyleLocation(String styleLocation)
- 
 
saveState
public Object saveState(javax.faces.context.FacesContext facesContext)
- 
- Specified by:
- saveStatein interface- javax.faces.component.StateHolder
- Overrides:
- saveStatein class- javax.faces.component.UICommand
 
- 
 
restoreState
public void restoreState(javax.faces.context.FacesContext facesContext,
                         Object state)
- 
- Specified by:
- restoreStatein interface- javax.faces.component.StateHolder
- Overrides:
- restoreStatein class- javax.faces.component.UICommand
 
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.