Java Doc for MenuBar.java in  » J2EE » ICEfaces-1.6.1 » com » icesoft » faces » component » menubar » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » ICEfaces 1.6.1 » com.icesoft.faces.component.menubar 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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



Field Summary
final public static  StringDEFAULT_ORIENTATION
    
final public static  StringID_PREFIX
    
final public static  StringORIENTATION_HORIZONTAL
    
final public static  StringORIENTATION_VERTICAL
    

Constructor Summary
public  MenuBar()
    

Method Summary
public  voidbroadcast(FacesEvent event)
    
public  StringgetComponentType()
    
public  StringgetFamily()
    
public  StringgetImageDir()
    
public  StringgetItemImageStyleClass()
    
public  StringgetItemLabelStyleClass()
    
public  StringgetItemStyleClass()
    
public  StringgetNoIcons()
     Return the value of the noIcons property.
public  StringgetOrientation()
    
public  StringgetRenderedOnUserRole()
    
public  StringgetRendererType()
    
public  StringgetStyle()
    
public  StringgetStyleClass()
    
public  StringgetSubMenuIndicatorStyleClass()
    
public  StringgetSubMenuStyleClass()
    
public  booleanisRendered()
    
public  voidprocessDecodes(FacesContext context)
    
public  voidqueueEvent(FacesEvent e)
    
public  voidsetImageDir(String imageDir)
    
public  voidsetNoIcons(String b)
     Set the value of the noIcons property.
public  voidsetOrientation(String orient)
    
public  voidsetRenderedOnUserRole(String renderedOnUserRole)
    
public  voidsetStyle(String style)
    
public  voidsetStyleClass(String styleClass)
    

Field Detail
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




Constructor Detail
MenuBar
public MenuBar()(Code)
default no args constructor




Method Detail
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)



getItemStyleClass
public String getItemStyleClass()(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



getRendererType
public String getRendererType()(Code)



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 -



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.