Java Doc for MenuItem.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.MenuItemBase
   com.icesoft.faces.component.menubar.MenuItem

All known Subclasses:   com.icesoft.faces.component.menubar.MenuItemCheckbox,  com.icesoft.faces.component.menubar.MenuItemRadio,
MenuItem
public class MenuItem extends MenuItemBase (Code)
MenuItem is a JSF component class that represent an ICEfaces menuItem.

MenuItem components are the menu items contained by a menuBar. The action and actionListener attributes operate in the same way as the standard component attributes of the same name. The MenuItem component is only used in the static approach to defining the heirarchy of menu items.

This component extends the ICEfaces MenuItemBase component.

By default the MenuItem is rendered by the "com.icesoft.faces.View" renderer type.
author:
   Chris Brown
author:
   gmccleary
version:
   1.1



Field Summary
final public static  StringDEFAULT_ICON
    

Constructor Summary
public  MenuItem()
    

Method Summary
 voidaddParameter(UIComponent link)
    
public  MethodBindinggetAction()
    
public  MethodBindinggetActionListener()
    
public  StringgetComponentType()
    
public  booleangetDisabled()
    
public  StringgetEnabledOnUserRole()
    
public  StringgetFamily()
    
public  StringgetIcon()
    
public  StringgetImageStyleClass()
    
public  StringgetLabelStyleClass()
    
public  StringgetLink()
    
public  StringgetRenderedOnUserRole()
    
public  StringgetRendererType()
    
public  StringgetStyleClass()
    
public  StringgetTarget()
    
 StringgetUserDefinedStyleClass(String parentClass, String subClass)
    
public  ObjectgetValue()
    
public  booleanhasActionOrActionListener()
    
 booleanisChildrenMenuItem()
    
public  booleanisDisabled()
    
public  booleanisRendered()
    
public  voidqueueEvent(FacesEvent e)
    
public  voidsetAction(MethodBinding action)
    
public  voidsetActionListener(MethodBinding actionListener)
    
public  voidsetDisabled(boolean disabled)
    
public  voidsetEnabledOnUserRole(String enabledOnUserRole)
    
public  voidsetIcon(String iconValue)
    
public  voidsetLink(String linkValue)
    
public  voidsetRenderedOnUserRole(String renderedOnUserRole)
    
public  voidsetStyleClass(String styleClass)
    
public  voidsetTarget(String target)
    
public  voidsetValue(Object value)
    

Field Detail
DEFAULT_ICON
final public static String DEFAULT_ICON(Code)
String constant defining default menu icon img




Constructor Detail
MenuItem
public MenuItem()(Code)




Method Detail
addParameter
void addParameter(UIComponent link)(Code)



getAction
public MethodBinding getAction()(Code)

Return the value of the action property.




getActionListener
public MethodBinding getActionListener()(Code)

Return the value of the actionListener property.




getComponentType
public String getComponentType()(Code)



getDisabled
public boolean getDisabled()(Code)



getEnabledOnUserRole
public String getEnabledOnUserRole()(Code)

Return the value of the enabledOnUserRole property.

String enabledOnUserRole



getFamily
public String getFamily()(Code)

Return the value of the COMPONENT_FAMILY of this component.




getIcon
public String getIcon()(Code)

Return the value of the icon property.




getImageStyleClass
public String getImageStyleClass()(Code)



getLabelStyleClass
public String getLabelStyleClass()(Code)



getLink
public String getLink()(Code)

Return the value of the link property.




getRenderedOnUserRole
public String getRenderedOnUserRole()(Code)

Return the value of the renderedOnUserRole property.

String renderedOnUserRole



getRendererType
public String getRendererType()(Code)



getStyleClass
public String getStyleClass()(Code)

Return the value of the styleClass property.

String styleClass



getTarget
public String getTarget()(Code)

Return the value of the target property.




getUserDefinedStyleClass
String getUserDefinedStyleClass(String parentClass, String subClass)(Code)



getValue
public Object getValue()(Code)

Return the value of the value property.




hasActionOrActionListener
public boolean hasActionOrActionListener()(Code)



isChildrenMenuItem
boolean isChildrenMenuItem()(Code)



isDisabled
public boolean isDisabled()(Code)

Return the value of the disabled property.




isRendered
public boolean isRendered()(Code)

Return the value of the rendered property.

boolean rendered



queueEvent
public void queueEvent(FacesEvent e)(Code)



setAction
public void setAction(MethodBinding action)(Code)

Set the value of the action property.




setActionListener
public void setActionListener(MethodBinding actionListener)(Code)

Set the value of the actionListener property.




setDisabled
public void setDisabled(boolean disabled)(Code)

Set the value of the disabled property.




setEnabledOnUserRole
public void setEnabledOnUserRole(String enabledOnUserRole)(Code)

Set the value of the enabledOnUserRole property.


Parameters:
  enabledOnUserRole -



setIcon
public void setIcon(String iconValue)(Code)

Set the value of the icon property.




setLink
public void setLink(String linkValue)(Code)

Set the value of the link property.




setRenderedOnUserRole
public void setRenderedOnUserRole(String renderedOnUserRole)(Code)

Set the value of the renderedOnUserRole property.


Parameters:
  renderedOnUserRole -



setStyleClass
public void setStyleClass(String styleClass)(Code)

Set the value of the styleClass property.


Parameters:
  styleClass -



setTarget
public void setTarget(String target)(Code)

Set the value of the target property.




setValue
public void setValue(Object value)(Code)

Set the value of the value property.




Fields inherited from com.icesoft.faces.component.menubar.MenuItemBase
protected static String DEFAULT_CSS_IMAGE_DIR(Code)(Java Doc)

Methods inherited from com.icesoft.faces.component.menubar.MenuItemBase
public void broadcast(FacesEvent event) throws AbortProcessingException(Code)(Java Doc)
public void processDecodes(FacesContext context)(Code)(Java Doc)
public void queueEvent(FacesEvent event)(Code)(Java Doc)

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