Java Doc for Image.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.XulElement
   org.zkoss.zul.Image

All known Subclasses:   org.zkoss.zul.Imagemap,  org.zkoss.zul.Captcha,
Image
public class Image extends XulElement (Code)
An image.

Note: IE 5.5/6 (not 7) has a bug that failed to render PNG with alpha transparency. See http://homepage.ntlworld.com/bobosola/index.htm for details. Thus, if you want to display such image, you have to use the alphafix mold. <image mold="alphafix"/>
author:
   tomyeh


Inner Class :protected class ExtraCtrl extends XulElement.ExtraCtrl implements DynamicMedia


Constructor Summary
public  Image()
    
public  Image(String src)
    

Method Summary
public  StringgetAlign()
     Returns the alignment.
public  StringgetBorder()
     Returns the width of the border.
public  org.zkoss.image.ImagegetContent()
     Returns the content set by Image.setContent .
public  StringgetHspace()
     Returns number of pixels of extra space to the left and right side of the image.
public  StringgetInnerAttrs()
    
public  StringgetOuterAttrs()
    
public  StringgetSrc()
     Returns the source URI of the image.
public  StringgetVspace()
     Returns number of pixels of extra space to the top and bottom side of the image.
public  booleanisChildable()
     Default: not childable.
protected  ObjectnewExtraCtrl()
    
public  voidsetAlign(String align)
     Sets the alignment: one of top, texttop, middle, absmiddle, bottom, absbottom, baseline, left, right and center.
public  voidsetBorder(String border)
     Sets the width of the border.
public  voidsetContent(org.zkoss.image.Image image)
     Sets the content directly. Default: null.
Parameters:
  image - the image to display.
public  voidsetHspace(String hspace)
     Sets number of pixels of extra space to the left and right side of the image.
public  voidsetSrc(String src)
     Sets the source URI of the image.
public  voidsetVspace(String vspace)
     Sets number of pixels of extra space to the top and bottom side of the image.
public  voidsmartUpdate(String attr, String value)
    


Constructor Detail
Image
public Image()(Code)



Image
public Image(String src)(Code)




Method Detail
getAlign
public String getAlign()(Code)
Returns the alignment.

Default: null (use browser default).




getBorder
public String getBorder()(Code)
Returns the width of the border.

Default: null (use browser default).




getContent
public org.zkoss.image.Image getContent()(Code)
Returns the content set by Image.setContent .

Note: it won't fetch what is set thru by Image.setSrc . It simply returns what is passed to Image.setContent .




getHspace
public String getHspace()(Code)
Returns number of pixels of extra space to the left and right side of the image.

Default: null (use browser default).




getInnerAttrs
public String getInnerAttrs()(Code)



getOuterAttrs
public String getOuterAttrs()(Code)



getSrc
public String getSrc()(Code)
Returns the source URI of the image.

Default: null.




getVspace
public String getVspace()(Code)
Returns number of pixels of extra space to the top and bottom side of the image.

Default: null (use browser default).




isChildable
public boolean isChildable()(Code)
Default: not childable.



newExtraCtrl
protected Object newExtraCtrl()(Code)



setAlign
public void setAlign(String align)(Code)
Sets the alignment: one of top, texttop, middle, absmiddle, bottom, absbottom, baseline, left, right and center.



setBorder
public void setBorder(String border)(Code)
Sets the width of the border.



setContent
public void setContent(org.zkoss.image.Image image)(Code)
Sets the content directly. Default: null.
Parameters:
  image - the image to display. If not null, it has higherpriority than Image.getSrc.



setHspace
public void setHspace(String hspace)(Code)
Sets number of pixels of extra space to the left and right side of the image.



setSrc
public void setSrc(String src)(Code)
Sets the source URI of the image.

If Image.setContent is ever called with non-null, it takes heigher priority than this method.
Parameters:
  src - the URI of the image source




setVspace
public void setVspace(String vspace)(Code)
Sets number of pixels of extra space to the top and bottom side of the image.



smartUpdate
public void smartUpdate(String attr, String value)(Code)



Methods inherited from org.zkoss.zul.impl.XulElement
public String getAction()(Code)(Java Doc)
public String getActionAttrs()(Code)(Java Doc)
protected String getAllOnClickAttrs(boolean ignoreOnClick)(Code)(Java Doc)
public String getContext()(Code)(Java Doc)
public String getInnerAttrs()(Code)(Java Doc)
public String getOuterAttrs()(Code)(Java Doc)
public String getPopup()(Code)(Java Doc)
public String getTooltip()(Code)(Java Doc)
public void setAction(String action)(Code)(Java Doc)
public void setContext(String context)(Code)(Java Doc)
public void setContext(Popup popup)(Code)(Java Doc)
public void setPopup(String popup)(Code)(Java Doc)
public void setPopup(Popup popup)(Code)(Java Doc)
public void setTooltip(String tooltip)(Code)(Java Doc)
public void setTooltip(Popup popup)(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.