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


java.lang.Object
   com.jgoodies.forms.factories.ButtonBarFactory

ButtonBarFactory
final public class ButtonBarFactory (Code)
A factory class that consists only of static methods to build frequently used button bars. Utilizes the com.jgoodies.forms.builder.ButtonBarBuilder that in turn uses the com.jgoodies.forms.layout.FormLayout to lay out the bars.

The button bars returned by this builder comply with popular UI style guides.
author:
   Karsten Lentzsch
version:
   $Revision: 1.2 $
See Also:   com.jgoodies.forms.builder.ButtonBarBuilder
See Also:   com.jgoodies.forms.util.LayoutStyle





Method Summary
public static  JPanelbuildAddRemoveBar(JButton add, JButton remove)
     Builds and returns a filled button bar with Add and Remove.
public static  JPanelbuildAddRemoveLeftBar(JButton add, JButton remove)
     Builds and returns a left aligned button bar with Add and Remove.
public static  JPanelbuildAddRemovePropertiesBar(JButton add, JButton remove, JButton properties)
     Builds and returns a filled button bar with Add, Remove, and Properties.
public static  JPanelbuildAddRemovePropertiesLeftBar(JButton add, JButton remove, JButton properties)
     Builds and returns a left aligned button bar with Add, Remove, and Properties.
public static  JPanelbuildAddRemovePropertiesRightBar(JButton add, JButton remove, JButton properties)
     Builds and returns a right aligned button bar with Add, Remove, and Properties.
public static  JPanelbuildAddRemoveRightBar(JButton add, JButton remove)
     Builds and returns a right aligned button bar with Add and Remove.
public static  JPanelbuildCenteredBar(JButton button1)
     Builds and returns a centered bar with one button.
public static  JPanelbuildCenteredBar(JButton button1, JButton button2)
     Builds and returns a centered bar with two buttons.
public static  JPanelbuildCenteredBar(JButton button1, JButton button2, JButton button3)
     Builds and returns a centered bar with three buttons.
public static  JPanelbuildCenteredBar(JButton button1, JButton button2, JButton button3, JButton button4)
     Builds and returns a centered bar with four buttons.
public static  JPanelbuildCenteredBar(JButton button1, JButton button2, JButton button3, JButton button4, JButton button5)
     Builds and returns a centered bar with five buttons.
public static  JPanelbuildCenteredBar(JButton[] buttons)
     Builds and returns a centered button bar with the given buttons.
public static  JPanelbuildCloseBar(JButton close)
     Builds and returns a button bar with Close.
public static  JPanelbuildCloseHelpBar(JButton close, JButton help)
     Builds and returns a button bar with Close and Help.
public static  JPanelbuildGrowingBar(JButton button1)
     Builds and returns a filled bar with one button.
public static  JPanelbuildGrowingBar(JButton button1, JButton button2)
     Builds and returns a filled button bar with two buttons.
public static  JPanelbuildGrowingBar(JButton button1, JButton button2, JButton button3)
     Builds and returns a filled bar with three buttons.
public static  JPanelbuildGrowingBar(JButton button1, JButton button2, JButton button3, JButton button4)
     Builds and returns a filled bar with four buttons.
public static  JPanelbuildGrowingBar(JButton button1, JButton button2, JButton button3, JButton button4, JButton button5)
     Builds and returns a filled bar with five buttons.
public static  JPanelbuildGrowingBar(JButton[] buttons)
     Builds and returns a button bar with the given buttons.
public static  JPanelbuildHelpBar(JButton help, JButton button1)
     Builds and returns a right aligned bar with help and one button.
public static  JPanelbuildHelpBar(JButton help, JButton button1, JButton button2)
     Builds and returns a right aligned bar with help and two buttons.
public static  JPanelbuildHelpBar(JButton help, JButton button1, JButton button2, JButton button3)
     Builds and returns a right aligned bar with help and three buttons.
public static  JPanelbuildHelpBar(JButton help, JButton button1, JButton button2, JButton button3, JButton button4)
     Builds and returns a right aligned bar with help and four buttons.
public static  JPanelbuildHelpBar(JButton help, JButton[] buttons)
     Builds and returns a right aligned bar with help and other buttons.
public static  JPanelbuildHelpCloseBar(JButton help, JButton close)
     Builds and returns a button bar with Help and Close.
public static  JPanelbuildHelpOKBar(JButton help, JButton ok)
     Builds and returns a button bar with Help and OK.
public static  JPanelbuildHelpOKCancelApplyBar(JButton help, JButton ok, JButton cancel, JButton apply)
     Builds and returns a button bar with Help, OK, Cancel and Apply.
public static  JPanelbuildHelpOKCancelBar(JButton help, JButton ok, JButton cancel)
     Builds and returns a button bar with Help, OK and Cancel.
public static  JPanelbuildLeftAlignedBar(JButton button1)
     Builds and returns a left aligned bar with one button.
public static  JPanelbuildLeftAlignedBar(JButton button1, JButton button2)
     Builds and returns a left aligned bar with two buttons.
public static  JPanelbuildLeftAlignedBar(JButton button1, JButton button2, JButton button3)
     Builds and returns a left aligned bar with three buttons.
public static  JPanelbuildLeftAlignedBar(JButton button1, JButton button2, JButton button3, JButton button4)
     Builds and returns a left aligned bar with four buttons.
public static  JPanelbuildLeftAlignedBar(JButton button1, JButton button2, JButton button3, JButton button4, JButton button5)
     Builds and returns a left aligned bar with five buttons.
public static  JPanelbuildLeftAlignedBar(JButton[] buttons)
     Builds and returns a left aligned button bar with the given buttons.
public static  JPanelbuildLeftAlignedBar(JButton[] buttons, boolean leftToRightButtonOrder)
     Builds and returns a left aligned button bar with the given buttons.
public static  JPanelbuildOKBar(JButton ok)
     Builds and returns a button bar with OK.
public static  JPanelbuildOKCancelApplyBar(JButton ok, JButton cancel, JButton apply)
     Builds and returns a button bar with OK, Cancel and Apply.
public static  JPanelbuildOKCancelApplyHelpBar(JButton ok, JButton cancel, JButton apply, JButton help)
     Builds and returns a button bar with OK, Cancel, Apply and Help.
public static  JPanelbuildOKCancelBar(JButton ok, JButton cancel)
     Builds and returns a button bar with OK and Cancel.
public static  JPanelbuildOKCancelHelpBar(JButton ok, JButton cancel, JButton help)
     Builds and returns a button bar with OK, Cancel, and Help.
public static  JPanelbuildOKHelpBar(JButton ok, JButton help)
     Builds and returns a button bar with OK and Help.
public static  JPanelbuildRightAlignedBar(JButton button1)
     Builds and returns a right aligned bar with one button.
public static  JPanelbuildRightAlignedBar(JButton button1, JButton button2)
     Builds and returns a right aligned bar with two buttons.
public static  JPanelbuildRightAlignedBar(JButton button1, JButton button2, JButton button3)
     Builds and returns a right aligned bar with three buttons.
public static  JPanelbuildRightAlignedBar(JButton button1, JButton button2, JButton button3, JButton button4)
     Builds and returns a right aligned bar with four buttons.
public static  JPanelbuildRightAlignedBar(JButton button1, JButton button2, JButton button3, JButton button4, JButton button5)
     Builds and returns a right aligned bar with five buttons.
public static  JPanelbuildRightAlignedBar(JButton[] buttons)
     Builds and returns a right aligned button bar with the given buttons.
public static  JPanelbuildRightAlignedBar(JButton[] buttons, boolean leftToRightButtonOrder)
     Builds and returns a right aligned button bar with the given buttons.
public static  JPanelbuildWizardBar(JButton back, JButton next, JButton finish, JButton cancel)
     Builds and returns a wizard button bar with: Back, Next, Finish, Cancel.
public static  JPanelbuildWizardBar(JButton help, JButton back, JButton next, JButton finish, JButton cancel)
     Builds and returns a wizard button bar with: Help and Back, Next, Finish, Cancel.
public static  JPanelbuildWizardBar(JButton back, JButton next, JButton[] rightAlignedButtons)
     Builds and returns a wizard button bar that consists of the back and next buttons, and some right aligned buttons.
public static  JPanelbuildWizardBar(JButton[] leftAlignedButtons, JButton back, JButton next, JButton[] rightAlignedButtons)
     Builds and returns a wizard button bar.
public static  JPanelbuildWizardBar(JButton[] leftAlignedButtons, JButton back, JButton next, JButton overlayedFinish, JButton[] rightAlignedButtons)
     Builds and returns a wizard button bar.



Method Detail
buildAddRemoveBar
public static JPanel buildAddRemoveBar(JButton add, JButton remove)(Code)
Builds and returns a filled button bar with Add and Remove.
Parameters:
  add - the Add button
Parameters:
  remove - the Remove button a panel that contains the button(s)



buildAddRemoveLeftBar
public static JPanel buildAddRemoveLeftBar(JButton add, JButton remove)(Code)
Builds and returns a left aligned button bar with Add and Remove.
Parameters:
  add - the Add button
Parameters:
  remove - the Remove button a panel that contains the button(s)



buildAddRemovePropertiesBar
public static JPanel buildAddRemovePropertiesBar(JButton add, JButton remove, JButton properties)(Code)
Builds and returns a filled button bar with Add, Remove, and Properties.
Parameters:
  add - the Add button
Parameters:
  remove - the Remove button
Parameters:
  properties - the Properties button a panel that contains the button(s)



buildAddRemovePropertiesLeftBar
public static JPanel buildAddRemovePropertiesLeftBar(JButton add, JButton remove, JButton properties)(Code)
Builds and returns a left aligned button bar with Add, Remove, and Properties.
Parameters:
  add - the Add button
Parameters:
  remove - the Remove button
Parameters:
  properties - the Properties button a panel that contains the button(s)



buildAddRemovePropertiesRightBar
public static JPanel buildAddRemovePropertiesRightBar(JButton add, JButton remove, JButton properties)(Code)
Builds and returns a right aligned button bar with Add, Remove, and Properties.
Parameters:
  add - the Add button
Parameters:
  remove - the Remove button
Parameters:
  properties - the Properties button a panel that contains the button(s)



buildAddRemoveRightBar
public static JPanel buildAddRemoveRightBar(JButton add, JButton remove)(Code)
Builds and returns a right aligned button bar with Add and Remove.
Parameters:
  add - the Add button
Parameters:
  remove - the Remove button a panel that contains the button(s)



buildCenteredBar
public static JPanel buildCenteredBar(JButton button1)(Code)
Builds and returns a centered bar with one button.
Parameters:
  button1 - the first button to add a button bar with the given button



buildCenteredBar
public static JPanel buildCenteredBar(JButton button1, JButton button2)(Code)
Builds and returns a centered bar with two buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add a button bar with the given buttons



buildCenteredBar
public static JPanel buildCenteredBar(JButton button1, JButton button2, JButton button3)(Code)
Builds and returns a centered bar with three buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add a button bar with the given buttons



buildCenteredBar
public static JPanel buildCenteredBar(JButton button1, JButton button2, JButton button3, JButton button4)(Code)
Builds and returns a centered bar with four buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add
Parameters:
  button4 - the fourth button to add a button bar with the given buttons



buildCenteredBar
public static JPanel buildCenteredBar(JButton button1, JButton button2, JButton button3, JButton button4, JButton button5)(Code)
Builds and returns a centered bar with five buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add
Parameters:
  button4 - the fourth button to add
Parameters:
  button5 - the fifth button to add a button bar with the given buttons



buildCenteredBar
public static JPanel buildCenteredBar(JButton[] buttons)(Code)
Builds and returns a centered button bar with the given buttons.
Parameters:
  buttons - an array of buttons to add a centered button bar with the given buttons



buildCloseBar
public static JPanel buildCloseBar(JButton close)(Code)
Builds and returns a button bar with Close.
Parameters:
  close - the Close button a panel that contains the button(s)



buildCloseHelpBar
public static JPanel buildCloseHelpBar(JButton close, JButton help)(Code)
Builds and returns a button bar with Close and Help.
Parameters:
  close - the Close button
Parameters:
  help - the Help button a panel that contains the button(s)



buildGrowingBar
public static JPanel buildGrowingBar(JButton button1)(Code)
Builds and returns a filled bar with one button.
Parameters:
  button1 - the first button to add a button bar with the given button



buildGrowingBar
public static JPanel buildGrowingBar(JButton button1, JButton button2)(Code)
Builds and returns a filled button bar with two buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add a button bar with the given buttons



buildGrowingBar
public static JPanel buildGrowingBar(JButton button1, JButton button2, JButton button3)(Code)
Builds and returns a filled bar with three buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add a button bar with the given buttons



buildGrowingBar
public static JPanel buildGrowingBar(JButton button1, JButton button2, JButton button3, JButton button4)(Code)
Builds and returns a filled bar with four buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add
Parameters:
  button4 - the fourth button to add a button bar with the given buttons



buildGrowingBar
public static JPanel buildGrowingBar(JButton button1, JButton button2, JButton button3, JButton button4, JButton button5)(Code)
Builds and returns a filled bar with five buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add
Parameters:
  button4 - the fourth button to add
Parameters:
  button5 - the fifth button to add a button bar with the given buttons



buildGrowingBar
public static JPanel buildGrowingBar(JButton[] buttons)(Code)
Builds and returns a button bar with the given buttons. All button columns will grow with the bar.
Parameters:
  buttons - an array of buttons to add a filled button bar with the given buttons



buildHelpBar
public static JPanel buildHelpBar(JButton help, JButton button1)(Code)
Builds and returns a right aligned bar with help and one button.
Parameters:
  help - the help button to add on the left side
Parameters:
  button1 - the first button to add a button bar with the given buttons



buildHelpBar
public static JPanel buildHelpBar(JButton help, JButton button1, JButton button2)(Code)
Builds and returns a right aligned bar with help and two buttons.
Parameters:
  help - the help button to add on the left side
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add a button bar with the given buttons



buildHelpBar
public static JPanel buildHelpBar(JButton help, JButton button1, JButton button2, JButton button3)(Code)
Builds and returns a right aligned bar with help and three buttons.
Parameters:
  help - the help button to add on the left side
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add a button bar with the given buttons



buildHelpBar
public static JPanel buildHelpBar(JButton help, JButton button1, JButton button2, JButton button3, JButton button4)(Code)
Builds and returns a right aligned bar with help and four buttons.
Parameters:
  help - the help button to add on the left side
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add
Parameters:
  button4 - the fourth button to add a button bar with the given buttons



buildHelpBar
public static JPanel buildHelpBar(JButton help, JButton[] buttons)(Code)
Builds and returns a right aligned bar with help and other buttons.
Parameters:
  help - the help button to add on the left side
Parameters:
  buttons - an array of buttons to add a right aligned button bar with the given buttons



buildHelpCloseBar
public static JPanel buildHelpCloseBar(JButton help, JButton close)(Code)
Builds and returns a button bar with Help and Close.
Parameters:
  help - the Help button
Parameters:
  close - the Close button a panel that contains the button(s)



buildHelpOKBar
public static JPanel buildHelpOKBar(JButton help, JButton ok)(Code)
Builds and returns a button bar with Help and OK.
Parameters:
  help - the Help button
Parameters:
  ok - the OK button a panel that contains the button(s)



buildHelpOKCancelApplyBar
public static JPanel buildHelpOKCancelApplyBar(JButton help, JButton ok, JButton cancel, JButton apply)(Code)
Builds and returns a button bar with Help, OK, Cancel and Apply.
Parameters:
  help - the Help button
Parameters:
  ok - the OK button
Parameters:
  cancel - the Cancel button
Parameters:
  apply - the Apply button a panel that contains the button(s)



buildHelpOKCancelBar
public static JPanel buildHelpOKCancelBar(JButton help, JButton ok, JButton cancel)(Code)
Builds and returns a button bar with Help, OK and Cancel.
Parameters:
  help - the Help button
Parameters:
  ok - the OK button
Parameters:
  cancel - the Cancel button a panel that contains the button(s)



buildLeftAlignedBar
public static JPanel buildLeftAlignedBar(JButton button1)(Code)
Builds and returns a left aligned bar with one button.
Parameters:
  button1 - the first button to add a button bar with the given button



buildLeftAlignedBar
public static JPanel buildLeftAlignedBar(JButton button1, JButton button2)(Code)
Builds and returns a left aligned bar with two buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add a button bar with the given buttons



buildLeftAlignedBar
public static JPanel buildLeftAlignedBar(JButton button1, JButton button2, JButton button3)(Code)
Builds and returns a left aligned bar with three buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add a button bar with the given buttons



buildLeftAlignedBar
public static JPanel buildLeftAlignedBar(JButton button1, JButton button2, JButton button3, JButton button4)(Code)
Builds and returns a left aligned bar with four buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add
Parameters:
  button4 - the fourth button to add a button bar with the given buttons



buildLeftAlignedBar
public static JPanel buildLeftAlignedBar(JButton button1, JButton button2, JButton button3, JButton button4, JButton button5)(Code)
Builds and returns a left aligned bar with five buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add
Parameters:
  button4 - the fourth button to add
Parameters:
  button5 - the fifth button to add a button bar with the given buttons



buildLeftAlignedBar
public static JPanel buildLeftAlignedBar(JButton[] buttons)(Code)
Builds and returns a left aligned button bar with the given buttons.
Parameters:
  buttons - an array of buttons to add a left aligned button bar with the given buttons



buildLeftAlignedBar
public static JPanel buildLeftAlignedBar(JButton[] buttons, boolean leftToRightButtonOrder)(Code)
Builds and returns a left aligned button bar with the given buttons.
Parameters:
  buttons - an array of buttons to add
Parameters:
  leftToRightButtonOrder - the order in which the buttons to add a left aligned button bar with the given buttons



buildOKBar
public static JPanel buildOKBar(JButton ok)(Code)
Builds and returns a button bar with OK.
Parameters:
  ok - the OK button a panel that contains the button(s)



buildOKCancelApplyBar
public static JPanel buildOKCancelApplyBar(JButton ok, JButton cancel, JButton apply)(Code)
Builds and returns a button bar with OK, Cancel and Apply.
Parameters:
  ok - the OK button
Parameters:
  cancel - the Cancel button
Parameters:
  apply - the Apply button a panel that contains the button(s)



buildOKCancelApplyHelpBar
public static JPanel buildOKCancelApplyHelpBar(JButton ok, JButton cancel, JButton apply, JButton help)(Code)
Builds and returns a button bar with OK, Cancel, Apply and Help.
Parameters:
  ok - the OK button
Parameters:
  cancel - the Cancel button
Parameters:
  apply - the Apply button
Parameters:
  help - the Help button a panel that contains the button(s)



buildOKCancelBar
public static JPanel buildOKCancelBar(JButton ok, JButton cancel)(Code)
Builds and returns a button bar with OK and Cancel.
Parameters:
  ok - the OK button
Parameters:
  cancel - the Cancel button a panel that contains the button(s)



buildOKCancelHelpBar
public static JPanel buildOKCancelHelpBar(JButton ok, JButton cancel, JButton help)(Code)
Builds and returns a button bar with OK, Cancel, and Help.
Parameters:
  ok - the OK button
Parameters:
  cancel - the Cancel button
Parameters:
  help - the Help button a panel that contains the button(s)



buildOKHelpBar
public static JPanel buildOKHelpBar(JButton ok, JButton help)(Code)
Builds and returns a button bar with OK and Help.
Parameters:
  ok - the OK button
Parameters:
  help - the Help button a panel that contains the button(s)



buildRightAlignedBar
public static JPanel buildRightAlignedBar(JButton button1)(Code)
Builds and returns a right aligned bar with one button.
Parameters:
  button1 - the first button to add a button bar with the given button



buildRightAlignedBar
public static JPanel buildRightAlignedBar(JButton button1, JButton button2)(Code)
Builds and returns a right aligned bar with two buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add a button bar with the given buttons



buildRightAlignedBar
public static JPanel buildRightAlignedBar(JButton button1, JButton button2, JButton button3)(Code)
Builds and returns a right aligned bar with three buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add a button bar with the given buttons



buildRightAlignedBar
public static JPanel buildRightAlignedBar(JButton button1, JButton button2, JButton button3, JButton button4)(Code)
Builds and returns a right aligned bar with four buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add
Parameters:
  button4 - the fourth button to add a button bar with the given buttons



buildRightAlignedBar
public static JPanel buildRightAlignedBar(JButton button1, JButton button2, JButton button3, JButton button4, JButton button5)(Code)
Builds and returns a right aligned bar with five buttons.
Parameters:
  button1 - the first button to add
Parameters:
  button2 - the second button to add
Parameters:
  button3 - the third button to add
Parameters:
  button4 - the fourth button to add
Parameters:
  button5 - the fifth button to add a button bar with the given buttons



buildRightAlignedBar
public static JPanel buildRightAlignedBar(JButton[] buttons)(Code)
Builds and returns a right aligned button bar with the given buttons.
Parameters:
  buttons - an array of buttons to add a right aligned button bar with the given buttons



buildRightAlignedBar
public static JPanel buildRightAlignedBar(JButton[] buttons, boolean leftToRightButtonOrder)(Code)
Builds and returns a right aligned button bar with the given buttons.
Parameters:
  buttons - an array of buttons to add
Parameters:
  leftToRightButtonOrder - the order in which the buttons to add a right aligned button bar with the given buttons



buildWizardBar
public static JPanel buildWizardBar(JButton back, JButton next, JButton finish, JButton cancel)(Code)
Builds and returns a wizard button bar with: Back, Next, Finish, Cancel.
Parameters:
  back - the Back button
Parameters:
  next - the Next button
Parameters:
  finish - the Finish button
Parameters:
  cancel - the Cancel button a wizard button bar for back, next, finish, cancel



buildWizardBar
public static JPanel buildWizardBar(JButton help, JButton back, JButton next, JButton finish, JButton cancel)(Code)
Builds and returns a wizard button bar with: Help and Back, Next, Finish, Cancel.
Parameters:
  help - the Help button
Parameters:
  back - the Back button
Parameters:
  next - the Next button
Parameters:
  finish - the Finish button
Parameters:
  cancel - the Cancel button a wizard button bar for help, back, next, finish, cancel



buildWizardBar
public static JPanel buildWizardBar(JButton back, JButton next, JButton[] rightAlignedButtons)(Code)
Builds and returns a wizard button bar that consists of the back and next buttons, and some right aligned buttons.
Parameters:
  back - the mandatory back button
Parameters:
  next - the mandatory next button
Parameters:
  rightAlignedButtons - an optional array of buttons that will belocated in the bar's right hand side a wizard button bar with back, next and a bunch of buttons



buildWizardBar
public static JPanel buildWizardBar(JButton[] leftAlignedButtons, JButton back, JButton next, JButton[] rightAlignedButtons)(Code)
Builds and returns a wizard button bar. It consists of some left aligned buttons, the back and next buttons, and some right aligned buttons.
Parameters:
  leftAlignedButtons - an optional array of buttons that will bepositioned in the bar's left hand side
Parameters:
  back - the mandatory back button
Parameters:
  next - the mandatory next button
Parameters:
  rightAlignedButtons - an optional array of buttons that will belocated in the bar's right hand side a wizard button bar with back, next and a bunch of buttons



buildWizardBar
public static JPanel buildWizardBar(JButton[] leftAlignedButtons, JButton back, JButton next, JButton overlayedFinish, JButton[] rightAlignedButtons)(Code)
Builds and returns a wizard button bar. It consists of some left aligned buttons, the back, next group, and some right aligned buttons. To allow the finish button to overlay the next button, you can optionally provide the overlayedFinish parameter.
Parameters:
  leftAlignedButtons - an optional array of buttons that will bepositioned in the bar's left hand side
Parameters:
  back - the mandatory back button
Parameters:
  next - the mandatory next button
Parameters:
  overlayedFinish - the optional overlayed finish button
Parameters:
  rightAlignedButtons - an optional array of buttons that will belocated in the bar's right hand side a wizard button bar with back, next and a bunch of buttons



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.