Java Doc for Menuitem.java in  » Ajax » zk » org » zkoss » zul » 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 » Ajax » zk » org.zkoss.zul 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.zkoss.zul.impl.LabelImageElement
   org.zkoss.zul.Menuitem

Menuitem
public class Menuitem extends LabelImageElement (Code)
sA single choice in a Menupopup element. It acts much like a button but it is rendered on a menu.
author:
   tomyeh

Inner Class :protected class ExtraCtrl extends LabelImageElement.ExtraCtrl implements Checkable


Constructor Summary
public  Menuitem()
    
public  Menuitem(String label)
    
public  Menuitem(String label, String src)
    

Method Summary
public  StringgetHref()
     Returns the href.

Default: null.

public  StringgetOuterAttrs()
    
protected  StringgetRealStyle()
    
public  StringgetSclass()
    
public  StringgetTarget()
     Returns the target frame or window.
public  StringgetValue()
     Returns the value.
public  booleanisAutocheck()
     Returns whether the menuitem check mark will update each time the menu item is selected

Default: false.

public  booleanisChecked()
     Returns whether it is checked.
public  booleanisChildable()
     Not childable.
public  booleanisDisabled()
     Returns whether it is disabled.
public  booleanisTopmost()
     Returns whether this is an top-level menu, i.e., not owning by another Menupopup .
protected  ObjectnewExtraCtrl()
    
public  voidsetAutocheck(boolean autocheck)
    
public  voidsetChecked(boolean checked)
     Sets whether it is checked.
public  voidsetDisabled(boolean disabled)
     Sets whether it is disabled.
public  voidsetHref(String href)
     Sets the href.
public  voidsetParent(Component parent)
    
public  voidsetTarget(String target)
     Sets the target frame or window.
public  voidsetValue(String value)
     Sets the value.


Constructor Detail
Menuitem
public Menuitem()(Code)



Menuitem
public Menuitem(String label)(Code)



Menuitem
public Menuitem(String label, String src)(Code)




Method Detail
getHref
public String getHref()(Code)
Returns the href.

Default: null. If null, the button has no function unless you specify the onClick handler.




getOuterAttrs
public String getOuterAttrs()(Code)



getRealStyle
protected String getRealStyle()(Code)



getSclass
public String getSclass()(Code)



getTarget
public String getTarget()(Code)
Returns the target frame or window.

Note: it is useful only if href ( Menuitem.setHref ) is specified (i.e., use the onClick listener).

Default: null.




getValue
public String getValue()(Code)
Returns the value.

Default: "".




isAutocheck
public boolean isAutocheck()(Code)
Returns whether the menuitem check mark will update each time the menu item is selected

Default: false.




isChecked
public boolean isChecked()(Code)
Returns whether it is checked.

Default: false.




isChildable
public boolean isChildable()(Code)
Not childable.



isDisabled
public boolean isDisabled()(Code)
Returns whether it is disabled.

Default: false.
since:
   3.0.1




isTopmost
public boolean isTopmost()(Code)
Returns whether this is an top-level menu, i.e., not owning by another Menupopup .



newExtraCtrl
protected Object newExtraCtrl()(Code)



setAutocheck
public void setAutocheck(boolean autocheck)(Code)
Sets whether the menuitem check mark will update each time the menu item is selected



setChecked
public void setChecked(boolean checked)(Code)
Sets whether it is checked.



setDisabled
public void setDisabled(boolean disabled)(Code)
Sets whether it is disabled.
since:
   3.0.1



setHref
public void setHref(String href) throws WrongValueException(Code)
Sets the href.



setParent
public void setParent(Component parent)(Code)



setTarget
public void setTarget(String target)(Code)
Sets the target frame or window.
Parameters:
  target - the name of the frame or window to hyperlink.



setValue
public void setValue(String value)(Code)
Sets the value.



Methods inherited from org.zkoss.zul.impl.LabelImageElement
public String getImage()(Code)(Java Doc)
public Image getImageContent()(Code)(Java Doc)
public String getImgTag()(Code)(Java Doc)
public String getSrc()(Code)(Java Doc)
public boolean isImageAssigned()(Code)(Java Doc)
protected Object newExtraCtrl()(Code)(Java Doc)
public void setImage(String src)(Code)(Java Doc)
public void setImageContent(Image image)(Code)(Java Doc)
public void setSrc(String src)(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.