Java Doc for WindowsLayoutStyle.java in  » Swing-Library » abeille-forms-designer » com » jgoodies » forms » util » 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 » abeille forms designer » com.jgoodies.forms.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.jgoodies.forms.util.LayoutStyle
      com.jgoodies.forms.util.WindowsLayoutStyle

WindowsLayoutStyle
final class WindowsLayoutStyle extends LayoutStyle (Code)
A LayoutStyle that aims to provide layout constants as defined by Microsoft's Design Specifications and Guidelines - Visual Design.
author:
   Karsten Lentzsch
version:
   $Revision: 1.2 $


Field Summary
final static  WindowsLayoutStyleINSTANCE
    


Method Summary
public  ConstantSizegetButtonBarPad()
     Returns a pad used to separate a button bar from a component.
public  SizegetDefaultButtonHeight()
     Returns this style's default button height.
public  SizegetDefaultButtonWidth()
     Returns this style's default button width.
public  ConstantSizegetDialogMarginX()
     Returns this style's horizontal margin for general dialogs.
public  ConstantSizegetDialogMarginY()
     Returns this style's vertical margin for general dialogs.
public  ConstantSizegetLabelComponentPadX()
     Returns a gap used to separate a label and associated control.
public  ConstantSizegetLinePad()
     Returns a narrow vertical pad used to separate lines.
public  ConstantSizegetNarrowLinePad()
     Returns a narrow vertical pad used to separate lines.
public  ConstantSizegetParagraphPad()
     Returns a pad used to separate paragraphs.
public  ConstantSizegetRelatedComponentsPadX()
     Returns a horizontal gap used to separate related controls.
public  ConstantSizegetRelatedComponentsPadY()
     Returns a vertical gap used to separate related controls.
public  ConstantSizegetTabbedDialogMarginX()
     Returns this style's horizontal margin for dialogs that consist of a tabbed pane.
public  ConstantSizegetTabbedDialogMarginY()
     Returns this style's vertical margin for dialogs that consist of a tabbed pane.
public  ConstantSizegetUnrelatedComponentsPadX()
     Returns a horizontal gap used to separate unrelated controls.
public  ConstantSizegetUnrelatedComponentsPadY()
     Returns a vertical gap used to separate unrelated controls.
public  booleanisLeftToRightButtonOrder()
     Checks and answers whether buttons are typically ordered from left to right or from right to left.

Field Detail
INSTANCE
final static WindowsLayoutStyle INSTANCE(Code)





Method Detail
getButtonBarPad
public ConstantSize getButtonBarPad()(Code)
Returns a pad used to separate a button bar from a component. a vertical pad used to separate paragraphs
since:
   1.0.3
See Also:   WindowsLayoutStyle.getRelatedComponentsPadY()
See Also:   WindowsLayoutStyle.getUnrelatedComponentsPadY()



getDefaultButtonHeight
public Size getDefaultButtonHeight()(Code)
Returns this style's default button height. the default button height
See Also:   WindowsLayoutStyle.getDefaultButtonWidth()



getDefaultButtonWidth
public Size getDefaultButtonWidth()(Code)
Returns this style's default button width. the default button width
See Also:   WindowsLayoutStyle.getDefaultButtonHeight()



getDialogMarginX
public ConstantSize getDialogMarginX()(Code)
Returns this style's horizontal margin for general dialogs. the horizontal margin for general dialogs
See Also:   WindowsLayoutStyle.getDialogMarginY()
See Also:   WindowsLayoutStyle.getTabbedDialogMarginX()



getDialogMarginY
public ConstantSize getDialogMarginY()(Code)
Returns this style's vertical margin for general dialogs. the vertical margin for general dialogs
See Also:   WindowsLayoutStyle.getDialogMarginX()
See Also:   WindowsLayoutStyle.getTabbedDialogMarginY()



getLabelComponentPadX
public ConstantSize getLabelComponentPadX()(Code)
Returns a gap used to separate a label and associated control. a gap between label and associated control
See Also:   WindowsLayoutStyle.getRelatedComponentsPadX()
See Also:   WindowsLayoutStyle.getUnrelatedComponentsPadX()



getLinePad
public ConstantSize getLinePad()(Code)
Returns a narrow vertical pad used to separate lines. a vertical pad used to separate lines
See Also:   WindowsLayoutStyle.getNarrowLinePad()
See Also:   WindowsLayoutStyle.getParagraphPad()



getNarrowLinePad
public ConstantSize getNarrowLinePad()(Code)
Returns a narrow vertical pad used to separate lines. a narrow vertical pad used to separate lines
See Also:   WindowsLayoutStyle.getLinePad()
See Also:   WindowsLayoutStyle.getParagraphPad()



getParagraphPad
public ConstantSize getParagraphPad()(Code)
Returns a pad used to separate paragraphs. a vertical pad used to separate paragraphs
See Also:   WindowsLayoutStyle.getNarrowLinePad()
See Also:   WindowsLayoutStyle.getLinePad()



getRelatedComponentsPadX
public ConstantSize getRelatedComponentsPadX()(Code)
Returns a horizontal gap used to separate related controls. a horizontal gap between related controls
See Also:   WindowsLayoutStyle.getLabelComponentPadX()
See Also:   WindowsLayoutStyle.getRelatedComponentsPadY()
See Also:   WindowsLayoutStyle.getUnrelatedComponentsPadX()



getRelatedComponentsPadY
public ConstantSize getRelatedComponentsPadY()(Code)
Returns a vertical gap used to separate related controls. a vertical gap between related controls
See Also:   WindowsLayoutStyle.getRelatedComponentsPadX()
See Also:   WindowsLayoutStyle.getUnrelatedComponentsPadY()



getTabbedDialogMarginX
public ConstantSize getTabbedDialogMarginX()(Code)
Returns this style's horizontal margin for dialogs that consist of a tabbed pane. the horizontal margin for dialogs that consist of a tabbed pane
since:
   1.0.3
See Also:   WindowsLayoutStyle.getTabbedDialogMarginY()
See Also:   WindowsLayoutStyle.getDialogMarginX()



getTabbedDialogMarginY
public ConstantSize getTabbedDialogMarginY()(Code)
Returns this style's vertical margin for dialogs that consist of a tabbed pane. the vertical margin for dialogs that consist of a tabbed pane
since:
   1.0.3
See Also:   WindowsLayoutStyle.getTabbedDialogMarginX()
See Also:   WindowsLayoutStyle.getDialogMarginY()



getUnrelatedComponentsPadX
public ConstantSize getUnrelatedComponentsPadX()(Code)
Returns a horizontal gap used to separate unrelated controls. a horizontal gap between unrelated controls
See Also:   WindowsLayoutStyle.getLabelComponentPadX()
See Also:   WindowsLayoutStyle.getUnrelatedComponentsPadY()
See Also:   WindowsLayoutStyle.getRelatedComponentsPadX()



getUnrelatedComponentsPadY
public ConstantSize getUnrelatedComponentsPadY()(Code)
Returns a vertical gap used to separate unrelated controls. a vertical gap between unrelated controls
See Also:   WindowsLayoutStyle.getUnrelatedComponentsPadX()
See Also:   WindowsLayoutStyle.getRelatedComponentsPadY()



isLeftToRightButtonOrder
public boolean isLeftToRightButtonOrder()(Code)
Checks and answers whether buttons are typically ordered from left to right or from right to left. Useful for building button bars that shall comply with the platform's layout style guide.

For example the Windows style guide recommends to layout out OK, Cancel, Apply from left to right, where the Mac Aqua style guide recommends to layout out these buttons from right to left.

Although most button sequences shall honor this order some buttons require a left to right order. For example Back, Next or Move Left, Move Right.

true if buttons are typically ordered from left to right
since:
   1.0.3
See Also:   com.jgoodies.forms.builder.ButtonBarBuilder
See Also:   com.jgoodies.forms.factories.ButtonBarFactory




Methods inherited from com.jgoodies.forms.util.LayoutStyle
abstract public ConstantSize getButtonBarPad()(Code)(Java Doc)
public static LayoutStyle getCurrent()(Code)(Java Doc)
abstract public Size getDefaultButtonHeight()(Code)(Java Doc)
abstract public Size getDefaultButtonWidth()(Code)(Java Doc)
abstract public ConstantSize getDialogMarginX()(Code)(Java Doc)
abstract public ConstantSize getDialogMarginY()(Code)(Java Doc)
abstract public ConstantSize getLabelComponentPadX()(Code)(Java Doc)
abstract public ConstantSize getLinePad()(Code)(Java Doc)
abstract public ConstantSize getNarrowLinePad()(Code)(Java Doc)
abstract public ConstantSize getParagraphPad()(Code)(Java Doc)
abstract public ConstantSize getRelatedComponentsPadX()(Code)(Java Doc)
abstract public ConstantSize getRelatedComponentsPadY()(Code)(Java Doc)
abstract public ConstantSize getTabbedDialogMarginX()(Code)(Java Doc)
abstract public ConstantSize getTabbedDialogMarginY()(Code)(Java Doc)
abstract public ConstantSize getUnrelatedComponentsPadX()(Code)(Java Doc)
abstract public ConstantSize getUnrelatedComponentsPadY()(Code)(Java Doc)
abstract public boolean isLeftToRightButtonOrder()(Code)(Java Doc)
public static void setCurrent(LayoutStyle newLayoutStyle)(Code)(Java Doc)

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.