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


org.zkoss.mil.MilComponent
   org.zkoss.mil.Item

All known Subclasses:   org.zkoss.mil.Image,  org.zkoss.mil.Label,  org.zkoss.mil.Datebox,  org.zkoss.mil.impl.InputElement,  org.zkoss.mil.Listbox,
Item
abstract public class Item extends MilComponent (Code)
Generic Item component under the Frame component.
author:
   henrichen


Field Summary
final protected static  intBUTTON
    
final protected static  intHYPERLINK
    
final protected static  intLAYOUT_2
    
final protected static  intLAYOUT_BOTTOM
    
final protected static  intLAYOUT_CENTER
    
final protected static  intLAYOUT_DEFAULT
    
final protected static  intLAYOUT_EXPAND
    
final protected static  intLAYOUT_LEFT
    
final protected static  intLAYOUT_NEWLINE_AFTER
    
final protected static  intLAYOUT_NEWLINE_BEFORE
    
final protected static  intLAYOUT_RIGHT
    
final protected static  intLAYOUT_SHRINK
    
final protected static  intLAYOUT_TOP
    
final protected static  intLAYOUT_VCENTER
    
final protected static  intLAYOUT_VEXPAND
    
final protected static  intLAYOUT_VSHRINK
    
final protected static  intPLAIN
    
protected  String_align
    
protected  String_flow
    
protected  String_heightHint
    
protected  String_label
    
protected  int_preferredHeight
    
protected  int_preferredWidth
    
protected  String_valign
    
protected  String_widthHint
    


Method Summary
public  StringgetAlign()
     Get the horizontal alignment of this Item (left, center, right).
public  StringgetFlow()
     Get the layout flow of this Item (first, last, only).
public  StringgetHeightHint()
     Set the hieght hint of this Item (shrink, expand).
public  StringgetInnerAttrs()
    
public  StringgetLabel()
     Get the label of this Item.
public  intgetPreferredHeight()
     Get preferred height.
public  intgetPreferredWidth()
     Get preferred width.
public  StringgetValign()
     Get the vertical alignment of this Item (top, middle, bottom).
  • top: align to top.
  • middle: align to middle.
  • bottom: align to bottom.
null means use default vertical alignment. the vertical alignment.
public  StringgetWidthHint()
     Set the width hint of this Item (shrink, expand).
public  voidsetAlign(String align)
     Set the horizontal alignment of this Item (left, center, right);
  • left: align to left.
  • center: align to center.
  • right: align to right
null means use default alignment.
public  voidsetFlow(String flow)
     Set the layout flow of this Item (first, last, only).
public  voidsetHeightHint(String heightHint)
     Set the hieght hint of this Item (shrink, expand).
public  voidsetLabel(String label)
     Set the new label of this Item.
public  voidsetParent(Component parent)
    
public  voidsetPreferredHeight(int preferredHeight)
     Set preferred height.
public  voidsetPreferredWidth(int preferredWidth)
     Set preferred width.
public  voidsetValign(String valign)
     Set the vertical alignment of this Item (top, middle, bottom).
public  voidsetWidthHint(String widthHint)
     Set the width hint of this Item (shrink, expand).

Field Detail
BUTTON
final protected static int BUTTON(Code)



HYPERLINK
final protected static int HYPERLINK(Code)



LAYOUT_2
final protected static int LAYOUT_2(Code)



LAYOUT_BOTTOM
final protected static int LAYOUT_BOTTOM(Code)



LAYOUT_CENTER
final protected static int LAYOUT_CENTER(Code)



LAYOUT_DEFAULT
final protected static int LAYOUT_DEFAULT(Code)



LAYOUT_EXPAND
final protected static int LAYOUT_EXPAND(Code)



LAYOUT_LEFT
final protected static int LAYOUT_LEFT(Code)



LAYOUT_NEWLINE_AFTER
final protected static int LAYOUT_NEWLINE_AFTER(Code)



LAYOUT_NEWLINE_BEFORE
final protected static int LAYOUT_NEWLINE_BEFORE(Code)



LAYOUT_RIGHT
final protected static int LAYOUT_RIGHT(Code)



LAYOUT_SHRINK
final protected static int LAYOUT_SHRINK(Code)



LAYOUT_TOP
final protected static int LAYOUT_TOP(Code)



LAYOUT_VCENTER
final protected static int LAYOUT_VCENTER(Code)



LAYOUT_VEXPAND
final protected static int LAYOUT_VEXPAND(Code)



LAYOUT_VSHRINK
final protected static int LAYOUT_VSHRINK(Code)



PLAIN
final protected static int PLAIN(Code)



_align
protected String _align(Code)



_flow
protected String _flow(Code)



_heightHint
protected String _heightHint(Code)



_label
protected String _label(Code)



_preferredHeight
protected int _preferredHeight(Code)



_preferredWidth
protected int _preferredWidth(Code)



_valign
protected String _valign(Code)



_widthHint
protected String _widthHint(Code)





Method Detail
getAlign
public String getAlign()(Code)
Get the horizontal alignment of this Item (left, center, right).
  • left: align to left.
  • center: align to center.
  • right: align to right
null means use default alignment. current horizontal alignment setting



getFlow
public String getFlow()(Code)
Get the layout flow of this Item (first, last, only).
  • first: means this Item must be the first in a row.
  • last: means this Item must be the last in a row.
  • only: means this Item is the only Item in a row.
null means the default flow rule. the layout flow of this Item.



getHeightHint
public String getHeightHint()(Code)
Set the hieght hint of this Item (shrink, expand).
  • shrink: means height can be reduced to its minimum.
  • expand: means height can be expanded to available space.
null means use default. the current height hint.



getInnerAttrs
public String getInnerAttrs()(Code)



getLabel
public String getLabel()(Code)
Get the label of this Item. the label of this Item.



getPreferredHeight
public int getPreferredHeight()(Code)
Get preferred height. -1 means use defualt. the preferred height.



getPreferredWidth
public int getPreferredWidth()(Code)
Get preferred width. -1 means use default. the preferred width;



getValign
public String getValign()(Code)
Get the vertical alignment of this Item (top, middle, bottom).
  • top: align to top.
  • middle: align to middle.
  • bottom: align to bottom.
null means use default vertical alignment. the vertical alignment.



getWidthHint
public String getWidthHint()(Code)
Set the width hint of this Item (shrink, expand).
  • shrink: means width can be reduced to its minimum.
  • expand: means width can be expanded to available space.
null means use default. the current width hint.



setAlign
public void setAlign(String align)(Code)
Set the horizontal alignment of this Item (left, center, right);
  • left: align to left.
  • center: align to center.
  • right: align to right
null means use default alignment.
Parameters:
  align -



setFlow
public void setFlow(String flow)(Code)
Set the layout flow of this Item (first, last, only).
  • first: means this Item must be the first in a row.
  • last: means this Item must be the last in a row.
  • only: means this Item is the only Item in a row.
null means use the default flow rule.
Parameters:
  flow - the layout flow of this Item.



setHeightHint
public void setHeightHint(String heightHint)(Code)
Set the hieght hint of this Item (shrink, expand).
  • shrink: means height can be reduced to its minimum.
  • expand: means height can be expanded to available space.
null means use default.
Parameters:
  heightHint - the current height hint.



setLabel
public void setLabel(String label)(Code)
Set the new label of this Item.
Parameters:
  label - the new label of this Item.



setParent
public void setParent(Component parent)(Code)



setPreferredHeight
public void setPreferredHeight(int preferredHeight)(Code)
Set preferred height. -1 means use default
Parameters:
  preferredHeight - the preferred height.



setPreferredWidth
public void setPreferredWidth(int preferredWidth)(Code)
Set preferred width. -1 means use default.
Parameters:
  preferredWidth - the preferred width.



setValign
public void setValign(String valign)(Code)
Set the vertical alignment of this Item (top, middle, bottom).
  • top: align to top.
  • middle: align to middle.
  • bottom: align to bottom.
null means use default vertical alignment.
Parameters:
  valign - (top, middle, bottom)



setWidthHint
public void setWidthHint(String widthHint)(Code)
Set the width hint of this Item (shrink, expand).
  • shrink: means width can be reduced to its minimum.
  • expand: means width can be expanded to available space.
null means use default.
Parameters:
  widthHint - the current width hint.



Methods inherited from org.zkoss.mil.MilComponent
public boolean addEventListener(String evtnm, EventListener listener)(Code)(Java Doc)
protected StringBuffer appendAsapAttr(StringBuffer sb, String evtnm)(Code)(Java Doc)
protected String encodeString(String str)(Code)(Java Doc)
public String getOuterAttrs()(Code)(Java Doc)
protected boolean isAsapRequired(String evtnm)(Code)(Java Doc)
public boolean removeEventListener(String evtnm, EventListener listener)(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.