Class LabelCompPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----LabelCompPanel
- public class LabelCompPanel
- extends Panel
Sets up a panel that is a 2-column grid with field labels in the first
column and AWT components in the second column.
-
LabelCompPanel()
- Create a panel with defaults that labels are right/top justified
and components are left/top justtified in a GridBagLayout.
-
addLabelComp(Label, Component)
- Adds a label and a generic component to this panel
-
addTextField(String, int)
- Adds a label and textfield pair to this panel
LabelCompPanel
public LabelCompPanel()
- Create a panel with defaults that labels are right/top justified
and components are left/top justtified in a GridBagLayout.
addLabelComp
public LabelCompPair addLabelComp(Label l,
Component c)
- Adds a label and a generic component to this panel
addTextField
public LabelCompPair addTextField(String labelText,
int fieldLen)
- Adds a label and textfield pair to this panel