public class SimpleDialog extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MEDIUM_TEXT_AREA_COLUMNS |
static int |
MEDIUM_TEXT_AREA_ROWS |
static int |
MEDIUM_TEXT_FIELD_COLUMNS |
Constructor and Description |
---|
SimpleDialog(String windowTitle,
String helpLabel,
String helpLink,
String descriptionTitle) |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(JComponent component) |
JCheckBox |
appendCheckBox(String labelText) |
JComboBox |
appendComboBox(String labelText,
String[] values) |
JRadioButton |
appendRadioButton(String labelText,
boolean selected) |
JTextArea |
appendTextArea(String labelText,
String defaultText) |
JTextField |
appendTextField(String labelText,
String defaultText) |
JPanel |
getPanel() |
void |
removeComponent(JComponent component) |
void |
setLayoutManager(LayoutManager manager) |
int |
showDialog() |
public static final int MEDIUM_TEXT_FIELD_COLUMNS
public static final int MEDIUM_TEXT_AREA_COLUMNS
public static final int MEDIUM_TEXT_AREA_ROWS
public JTextField appendTextField(String labelText, String defaultText)
public JRadioButton appendRadioButton(String labelText, boolean selected)
public void removeComponent(JComponent component)
public int showDialog()
public JPanel getPanel()
public void setLayoutManager(LayoutManager manager)
public void addComponent(JComponent component)
Copyright © 2019. All rights reserved.