| |
|
| com.icesoft.faces.component.menubar.MenuBar
MenuBar | public class MenuBar extends UICommand implements NamingContainer(Code) | | MenuBar is a JSF component class representing the ICEfaces menu bar. The
menuBar component provides a robust menu system that supports:
1. Nested child menuItem and menuItemSeparator components. Support for
menuItemCheckbox and menuItemRadio components are planned for a future
release. 2. Horizontal (default) and Vertical menu orientations. Defines
whether the submenus of the top-level menu items appear beside or below the
top-level menu items. 3. Definition of the heirarchy of menu items and
their submenus in one of two ways: - by using a binding to a bean method
that returns a (potentially) dynamic heirarchy of menu items. - by
statically defining the heirarchy in the JSPX page. 4. The action
attribute of the contained menuItem tags or instances can be defined to
indicate a string or a backing bean method that can be used in application
navigation. 5. The actionListener attribute of the contained menuItem
tags or instances can be defined to indicate an actionListener that resides
in a backing bean.
This component extends the JSF UICommand component and implements the
NamingContainer interface.
By default the MenuBar is rendered by the "com.icesoft.faces.View" renderer
type.
author: Chris Brown author: gmccleary version: 1.1 |
Constructor Summary | |
public | MenuBar() |
DEFAULT_ORIENTATION | final public static String DEFAULT_ORIENTATION(Code) | | String contant default orientation
|
ID_PREFIX | final public static String ID_PREFIX(Code) | | String constant menu id prefix
|
ORIENTATION_HORIZONTAL | final public static String ORIENTATION_HORIZONTAL(Code) | | String contant horizontal orientation
|
ORIENTATION_VERTICAL | final public static String ORIENTATION_VERTICAL(Code) | | String constant vertical orientation
|
MenuBar | public MenuBar()(Code) | | default no args constructor
|
broadcast | public void broadcast(FacesEvent event) throws AbortProcessingException(Code) | | |
getComponentType | public String getComponentType()(Code) | | String component type |
getFamily | public String getFamily()(Code) | | Return the value of the COMPONENT_FAMILY of this
component.
String component family |
getImageDir | public String getImageDir()(Code) | | Return the value of the imageDir property.
String imageDir |
getItemImageStyleClass | public String getItemImageStyleClass()(Code) | | |
getItemLabelStyleClass | public String getItemLabelStyleClass()(Code) | | |
getNoIcons | public String getNoIcons()(Code) | | Return the value of the noIcons property. A return value of "true"
indicates that noIcons should be rendered on all of the MenuBar
subMenus.
String value of Boolean noIcons |
getOrientation | public String getOrientation()(Code) | | Return the value of the orientation property.
String orientation |
getRenderedOnUserRole | public String getRenderedOnUserRole()(Code) | | Return the value of the renderedOnUserRole property.
String renderedOnUserRole |
getStyle | public String getStyle()(Code) | | Return the value of the style property.
String style |
getStyleClass | public String getStyleClass()(Code) | | Return the value of the styleClass property.
String styleClass |
getSubMenuIndicatorStyleClass | public String getSubMenuIndicatorStyleClass()(Code) | | |
getSubMenuStyleClass | public String getSubMenuStyleClass()(Code) | | |
isRendered | public boolean isRendered()(Code) | | Return the value of the rendered property.
boolean rendered |
processDecodes | public void processDecodes(FacesContext context)(Code) | | |
queueEvent | public void queueEvent(FacesEvent e)(Code) | | |
setImageDir | public void setImageDir(String imageDir)(Code) | | Set the value of the imageDir property.
Parameters: imageDir - |
setNoIcons | public void setNoIcons(String b)(Code) | | Set the value of the noIcons property. Setting this value to "true" will
cause all subMenus of this MenuBar to be rendered without icons and
spacers.
Parameters: b - |
setOrientation | public void setOrientation(String orient)(Code) | | Set the value of the orientation property.
Parameters: orient - |
setRenderedOnUserRole | public void setRenderedOnUserRole(String renderedOnUserRole)(Code) | | Set the value of the renderedOnUserRole property.
Parameters: renderedOnUserRole - |
setStyle | public void setStyle(String style)(Code) | | Set the value of the style property.
Parameters: style - |
setStyleClass | public void setStyleClass(String styleClass)(Code) | | Set the value of the styleClass property.
Parameters: styleClass - |
|
|
|