Java Doc for IUnBox.java in  » J2EE » WiSerFramework » de » ug2t » unifiedGui » interfaces » 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 » WiSerFramework » de.ug2t.unifiedGui.interfaces 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.ug2t.unifiedGui.interfaces.IUnBox

All known Subclasses:   de.ug2t.channel.ho.client.swing.HoSwingBox,  de.ug2t.channel.markup.generic.MuGenericBox,  de.ug2t.channel.ho.server.generic.HoSrvGenericBox,
IUnBox
public interface IUnBox extends IUnContainer,IUnComponent(Code)

author:
   dirk
author:
   IUnBox is the interface to the boxes. A box is a container which aligns it's
author:
   children either from left to right or from top to bottom. A box might have
author:
   different borders on each side. Alignment, margin and padding settings are
author:
   available as well. The box model is similar to css border-box model. A box
author:
   has two render modes, a layouted one which renders all properties correctly.
author:
   And a simple one which is much more performant but might not render
author:
   alignments, gaps and flexible components correctly. Use this one e.g. for
author:
   cells of large tables.

Inner Class :public static class Factory
Inner Class :public class BoxHelper

Field Summary
final public static  intBORDER_DASHED
    
final public static  intBORDER_DOTTED
    
final public static  intBORDER_DOUBLE
    
final public static  intBORDER_LINE
    
final public static  String[]BORDER_STYLES
    
final public static  intBOTTOM
    
final public static  intBOX_CONSTRAINT_FLEX
    
final public static  intBOX_CONSTRAINT_FLEXFILLX
    
final public static  intBOX_CONSTRAINT_FLEXFILLXY
    
final public static  intBOX_CONSTRAINT_FLEXFILLY
    
final public static  intBOX_CONSTRAINT_NONE
    
final public static  intHBOX
    
final public static  intLAYOUTED
    
final public static  intLEFT
    
final public static  intRIGHT
    
final public static  intSIMPLE
    
final public static  intSINGLE
    
final public static  intTOP
    
final public static  intVBOX
    


Method Summary
public  voidpcmf_setBgImage(IUnImage xImg)
    
public  voidpcmf_setBorder(int xDir, String xCol, int xWidth, int xStyle)
    
public  voidpcmf_setBoxAlign(String xAlign)
    
public  voidpcmf_setBoxHVType(int xType)
    
public  voidpcmf_setBoxType(int xType)
    
author:
   Dirk
author:
   Sets the type of the box.
public  voidpcmf_setContraint(UnComponent xObj, int xConstraint)
    
public  voidpcmf_setGap(int xGap)
    
public  voidpcmf_setMargin(int xDir, int xWidth)
    
author:
   Dirk
author:
   Sets the margin to one side of the box.
public  voidpcmf_setPadding(int xDir, int xWidth)
    
author:
   Dirk
author:
   Sets the padding to one side of the box.

Field Detail
BORDER_DASHED
final public static int BORDER_DASHED(Code)



BORDER_DOTTED
final public static int BORDER_DOTTED(Code)



BORDER_DOUBLE
final public static int BORDER_DOUBLE(Code)



BORDER_LINE
final public static int BORDER_LINE(Code)



BORDER_STYLES
final public static String[] BORDER_STYLES(Code)



BOTTOM
final public static int BOTTOM(Code)



BOX_CONSTRAINT_FLEX
final public static int BOX_CONSTRAINT_FLEX(Code)



BOX_CONSTRAINT_FLEXFILLX
final public static int BOX_CONSTRAINT_FLEXFILLX(Code)



BOX_CONSTRAINT_FLEXFILLXY
final public static int BOX_CONSTRAINT_FLEXFILLXY(Code)



BOX_CONSTRAINT_FLEXFILLY
final public static int BOX_CONSTRAINT_FLEXFILLY(Code)



BOX_CONSTRAINT_NONE
final public static int BOX_CONSTRAINT_NONE(Code)



HBOX
final public static int HBOX(Code)



LAYOUTED
final public static int LAYOUTED(Code)



LEFT
final public static int LEFT(Code)



RIGHT
final public static int RIGHT(Code)



SIMPLE
final public static int SIMPLE(Code)



SINGLE
final public static int SINGLE(Code)



TOP
final public static int TOP(Code)



VBOX
final public static int VBOX(Code)





Method Detail
pcmf_setBgImage
public void pcmf_setBgImage(IUnImage xImg)(Code)

author:
   Dirk
author:
   Sets the background imgage of the box
Parameters:
  xImg - background image



pcmf_setBorder
public void pcmf_setBorder(int xDir, String xCol, int xWidth, int xStyle)(Code)

author:
   Dirk
author:
   Sets a border to one side of the box
Parameters:
  xDir - LEFT | RIGTHT | TOP | BOTTOM the side of the box where the borderappears
Parameters:
  xCol - color of the border
Parameters:
  xWidth - width of the border
Parameters:
  xStyle - BORDER_DASED | BORDER_DOTTED | BORDER_DOUBLE | BORDER_LINE styleof the border



pcmf_setBoxAlign
public void pcmf_setBoxAlign(String xAlign)(Code)

author:
   Dirk
author:
   Sets the alignment of all Components rendered within the box
Parameters:
  xAlign - NORTH | EAST | WEST | SOUTH and combinations like NORTHWEST



pcmf_setBoxHVType
public void pcmf_setBoxHVType(int xType)(Code)

author:
   Dirk
author:
   Sets whether the box is a horizontal or a verical box
Parameters:
  xType - HBOX | VBOX



pcmf_setBoxType
public void pcmf_setBoxType(int xType)(Code)

author:
   Dirk
author:
   Sets the type of the box. A Simple box renders only the borders, margins,
author:
   paddings and direction correctly. Alignment and constraints are working
author:
   partly correct. It is much faster in rendering than the layouted box. A
author:
   Single box only renders one child and the borders, margins, paddings and
author:
   orientation WEST | EAST | CENTER. Use this one to box many single items
author:
   like labels.
Parameters:
  xType - SIMPLE | LAYOUTED | SINGLE



pcmf_setContraint
public void pcmf_setContraint(UnComponent xObj, int xConstraint)(Code)

author:
   Dirk
author:
   Sets a layout contraint to a Component
Parameters:
  xObj - Component
Parameters:
  xConstraint - BOX_CONSTRAINT_NONE | BOX_CONSTRAINT_FLEX |BOX_CONSTRAINT_FLEXFILLX | BOX_CONSTRAINT_FLEXFILLY |BOX_CONSTRAINT_FLEXFILLXY



pcmf_setGap
public void pcmf_setGap(int xGap)(Code)

author:
   Dirk
author:
   Sts the gap between the Components of the box in pixel
Parameters:
  xGap - gap in pixel



pcmf_setMargin
public void pcmf_setMargin(int xDir, int xWidth)(Code)

author:
   Dirk
author:
   Sets the margin to one side of the box. argin is the space between the
author:
   border and the outer frame of the box
Parameters:
  xDir - LEFT | RIGTHT | TOP | BOTTOM the side of the box where the paddingappears
Parameters:
  xWidth - space in pixel



pcmf_setPadding
public void pcmf_setPadding(int xDir, int xWidth)(Code)

author:
   Dirk
author:
   Sets the padding to one side of the box. Padding is the space between the
author:
   content and the box
Parameters:
  xDir - LEFT | RIGTHT | TOP | BOTTOM the side of the box where the paddingappears
Parameters:
  xWidth - space in pixel



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