Java Doc for AbstractLayoutCG.java in  » Swing-Library » wings3 » org » wings » plaf » css » 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 » Swing Library » wings3 » org.wings.plaf.css 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.wings.plaf.css.AbstractLayoutCG

All known Subclasses:   org.wings.plaf.css.ScrollPaneLayoutCG,  org.wings.plaf.css.GridBagLayoutCG,  org.wings.plaf.css.FlowLayoutCG,  org.wings.plaf.css.BorderLayoutCG,  org.wings.plaf.css.GridLayoutCG,  org.wings.plaf.css.BoxLayoutCG,
AbstractLayoutCG
abstract public class AbstractLayoutCG implements LayoutCG(Code)
Abstract super class for layout CGs using invisible tables to arrange their contained components.
author:
   bschmid




Method Summary
final protected  TableCellStylecellLayoutStyle(SLayoutManager layout)
    
final protected  intcellOversize(SGridBagLayout layout, Insets insets)
    
protected  voidcloseLayouterBody(Device d, SLayoutManager layout)
    
public static  voidcloseLayouterCell(Device d, SComponent component, boolean renderAsHeader)
     Closes a TD or TH cell of an invisible layouter table.
public static  voidcloseLayouterRow(Device d)
     Closes a TR.
protected static  InsetsconvertGapsToInset(int hgap, int vgap)
     Converts a hgap/vgap in according inset declaration.
abstract public  intgetDefaultLayoutCellHAlignment()
     The default horizontal alignment for components inside a layout cell.
abstract public  intgetDefaultLayoutCellVAlignment()
     The default vertical alignment for components inside a layout cell.
abstract protected  intgetLayoutBorder(SLayoutManager layout)
    
abstract protected  intgetLayoutHGap(SLayoutManager layout)
    
abstract protected  intgetLayoutVGap(SLayoutManager layout)
    
final protected  booleanisMSIE(SComponent component)
    
abstract protected  intlayoutOversize(SLayoutManager layout)
    
protected  voidopenLayouterBody(Device d, SLayoutManager layout)
     Print HTML table element declaration of a typical invisible layouter table.
public static  voidopenLayouterCell(Device d, SComponent component, TableCellStyle cellStyle)
     Opens a TD or TH cell of an invisible layouter table.
public static  voidopenLayouterRow(Device d, String height)
    
protected  voidprintLayouterTableBody(Device d, SContainer renderedContainer, int cols, List components, TableCellStyle cellStyle)
     Render passed list of components to a table body.



Method Detail
cellLayoutStyle
final protected TableCellStyle cellLayoutStyle(SLayoutManager layout)(Code)



cellOversize
final protected int cellOversize(SGridBagLayout layout, Insets insets)(Code)



closeLayouterBody
protected void closeLayouterBody(Device d, SLayoutManager layout) throws IOException(Code)
Counterpart to AbstractLayoutCG.openLayouterBody



closeLayouterCell
public static void closeLayouterCell(Device d, SComponent component, boolean renderAsHeader) throws IOException(Code)
Closes a TD or TH cell of an invisible layouter table.
Parameters:
  renderAsHeader - Print TH instead of TD



closeLayouterRow
public static void closeLayouterRow(Device d) throws IOException(Code)
Closes a TR.



convertGapsToInset
protected static Insets convertGapsToInset(int hgap, int vgap)(Code)
Converts a hgap/vgap in according inset declaration. If a gapp is odd, the overlapping additonal pixel is added to the right/bottom inset.
Parameters:
  hgap - Horizontal gap between components in px
Parameters:
  vgap - Vertical gap between components in px An inset equal to the gap declarations



getDefaultLayoutCellHAlignment
abstract public int getDefaultLayoutCellHAlignment()(Code)
The default horizontal alignment for components inside a layout cell.



getDefaultLayoutCellVAlignment
abstract public int getDefaultLayoutCellVAlignment()(Code)
The default vertical alignment for components inside a layout cell.



getLayoutBorder
abstract protected int getLayoutBorder(SLayoutManager layout)(Code)



getLayoutHGap
abstract protected int getLayoutHGap(SLayoutManager layout)(Code)



getLayoutVGap
abstract protected int getLayoutVGap(SLayoutManager layout)(Code)



isMSIE
final protected boolean isMSIE(SComponent component)(Code)
true if current browser is microsoft exploder



layoutOversize
abstract protected int layoutOversize(SLayoutManager layout)(Code)



openLayouterBody
protected void openLayouterBody(Device d, SLayoutManager layout) throws IOException(Code)
Print HTML table element declaration of a typical invisible layouter table.



openLayouterCell
public static void openLayouterCell(Device d, SComponent component, TableCellStyle cellStyle) throws IOException(Code)
Opens a TD or TH cell of an invisible layouter table. This method also does component alignment. Attention: As you want to attach more attributes you need to close the tag with > on your own!



openLayouterRow
public static void openLayouterRow(Device d, String height) throws IOException(Code)



printLayouterTableBody
protected void printLayouterTableBody(Device d, SContainer renderedContainer, int cols, List components, TableCellStyle cellStyle) throws IOException(Code)
Render passed list of components to a table body. Use AbstractLayoutCG.openLayouterBody(org.wings.io.Device,org.wings.SLayoutManager) in front and AbstractLayoutCG.closeLayouterBody(org.wings.io.Device,org.wings.SLayoutManager) afterwards!
Parameters:
  d - The device to write to
Parameters:
  renderedContainer - The (container) component rendered
Parameters:
  cols - Wrap after this amount of columns
Parameters:
  components - The components to layout in this table
Parameters:
  cellStyle - Style attributes for the table cells.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.