Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.jgoodies.forms.tutorial.building
Class DynamicRowsExample  view DynamicRowsExample download DynamicRowsExample.java

java.lang.Object
  extended bycom.jgoodies.forms.tutorial.building.DynamicRowsExample

public final class DynamicRowsExample
extends java.lang.Object

Combines the FormLayout with the PanelBuilder. Columns and rows are specified before the panel is filled with components. The builder's cursor is used to determine the location of the next component. And the builder's convenience methods are used to add labels and separators.

This panel building style is intended for learning purposes only. The recommended style is demonstrated in the DefaultFormBuilderExample.

Version:
$Revision: 1.8 $

Field Summary
private  javax.swing.JTextField da2Field
           
private  javax.swing.JTextField daField
           
private  javax.swing.JTextField dField
           
private  javax.swing.JTextField di2Field
           
private  javax.swing.JTextField diField
           
private  javax.swing.JCheckBox holesCheckBox
           
private  javax.swing.JTextField identifierField
           
private  javax.swing.JTextField kFactorField
           
private  javax.swing.JTextField lenField
           
private  javax.swing.JComboBox locationCombo
           
private  javax.swing.JTextField powerField
           
private  javax.swing.JTextField ptiField
           
private  javax.swing.JTextField rField
           
private  javax.swing.JCheckBox slotsCheckBox
           
 
Constructor Summary
DynamicRowsExample()
           
 
Method Summary
 javax.swing.JComponent buildPanel()
          Builds the pane.
private  javax.swing.JComboBox createLocationComboBox()
          Creates and returns a combo box for the locations.
private  void initComponents()
          Creates and intializes the UI components.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifierField

private javax.swing.JTextField identifierField

ptiField

private javax.swing.JTextField ptiField

powerField

private javax.swing.JTextField powerField

lenField

private javax.swing.JTextField lenField

daField

private javax.swing.JTextField daField

diField

private javax.swing.JTextField diField

da2Field

private javax.swing.JTextField da2Field

di2Field

private javax.swing.JTextField di2Field

rField

private javax.swing.JTextField rField

dField

private javax.swing.JTextField dField

locationCombo

private javax.swing.JComboBox locationCombo

kFactorField

private javax.swing.JTextField kFactorField

holesCheckBox

private javax.swing.JCheckBox holesCheckBox

slotsCheckBox

private javax.swing.JCheckBox slotsCheckBox
Constructor Detail

DynamicRowsExample

public DynamicRowsExample()
Method Detail

main

public static void main(java.lang.String[] args)

initComponents

private void initComponents()
Creates and intializes the UI components.


createLocationComboBox

private javax.swing.JComboBox createLocationComboBox()
Creates and returns a combo box for the locations.


buildPanel

public javax.swing.JComponent buildPanel()
Builds the pane.