public class SwingConfigurationDialogImpl extends Object implements ConfigurationDialog
ConfigurationDialog.FieldType
Constructor and Description |
---|
SwingConfigurationDialogImpl(String title,
String helpUrl,
String description,
ImageIcon icon) |
Modifier and Type | Method and Description |
---|---|
void |
addCheckBox(String caption,
String label,
boolean selected) |
void |
addComboBox(String label,
Object[] objects,
String tooltip) |
void |
addComboBox(String label,
String tooltip) |
void |
addComponent(JComponent component) |
void |
addTextField(String name,
String tooltip) |
void |
addTextField(String name,
String tooltip,
ConfigurationDialog.FieldType type) |
ActionList |
getActions() |
Dimension |
getSize() |
void |
getValues(Map<String,String> values) |
void |
hide() |
void |
setContent(JComponent content) |
void |
setSize(Dimension preferredSize) |
void |
setValues(String id,
String[] values) |
boolean |
show(Map<String,String> values) |
public boolean show(Map<String,String> values)
show
in interface ConfigurationDialog
public Dimension getSize()
public void setSize(Dimension preferredSize)
public void addTextField(String name, String tooltip)
addTextField
in interface ConfigurationDialog
public void addTextField(String name, String tooltip, ConfigurationDialog.FieldType type)
addTextField
in interface ConfigurationDialog
public void addCheckBox(String caption, String label, boolean selected)
addCheckBox
in interface ConfigurationDialog
public void setContent(JComponent content)
public void addComboBox(String label, Object[] objects, String tooltip)
addComboBox
in interface ConfigurationDialog
public void setValues(String id, String[] values)
setValues
in interface ConfigurationDialog
public void addComboBox(String label, String tooltip)
addComboBox
in interface ConfigurationDialog
public void addComponent(JComponent component)
public void getValues(Map<String,String> values)
getValues
in interface ConfigurationDialog
public ActionList getActions()
getActions
in interface ConfigurationDialog
public void hide()
hide
in interface ConfigurationDialog
Copyright © 2019. All Rights Reserved.