public class PanelFactory extends Object
| Constructor and Description |
|---|
PanelFactory() |
| Modifier and Type | Method and Description |
|---|---|
static JPanel |
createButtonPanel(JButton[] buttons)
Creates and returns a panel with right-centered buttons.
|
static JPanel |
createForm(Component[] leftComponents,
Component[] rightComponents) |
static JPanel |
createForm(String title,
Component[] leftComponents,
Component[] rightComponents)
Create panel with aligned labels on the right and fields on the left.
|
static JPanel |
createForm(String title,
String[] labels,
Component[] components) |
static JPanel |
createTablePanel(JTable table,
JButton[] buttons)
Creates panel with table within scroll panel and buttons in the bottom.
|
static JPanel |
createTablePanel(JTable table,
JComponent[] components,
JButton[] buttons)
Creates panel with table within scroll panel and buttons in the bottom.
|
public static JPanel createButtonPanel(JButton[] buttons)
public static JPanel createForm(String title, Component[] leftComponents, Component[] rightComponents)
public static JPanel createTablePanel(JTable table, JButton[] buttons)
public static JPanel createTablePanel(JTable table, JComponent[] components, JButton[] buttons)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.