Available Default Dialog Components

DialogComponentBoolean

Example:
Accepted SettingsModels:
SettingsModelBoolean
Getter methods:
boolean getBooleanValue()
Notes:
Stores a boolean according to the state of the checkbox.

DialogComponentColumnFilter

Example:
Accepted SettingsModels:
SettingsModelFilterString
Getter methods:
  • List<String> getIncludedList()
  • List<String> getExcludedList()
Notes:
Implements support for an include and exclude list. Mainly used for column filtering

DialogComponentColumnNameSelection

Example:
Accepted SettingsModels:
SettingsModelString
Getter methods:
String getStringValue()
Notes:
Stores the name of the selected column. Uses column type aware renderer.

DialogComponentFileChooser

Example:
Accepted SettingsModels:
SettingsModelString
Getter methods:
String getStringValue()
Notes:
The stored string is the (absolute) file name of the selected file.

DialogComponentNumber

Example:
Accepted SettingsModels:
  • SettingsModelDouble
  • SettingsModelInteger
  • SettingsModelDoubleBounded
  • SettingsModelIntegerBounded
Getter methods:
  • double getDoubleValue()
  • int getIntValue()
Notes:
Accepts number (double or integer) in an editable spinner. The bounded models will not accept values outside the specified range

DialogComponentNumberEdit

Example:
Accepted SettingsModels:
  • SettingsModelDouble
  • SettingsModelInteger
  • SettingsModelDoubleBounded
  • SettingsModelIntegerBounded
Getter methods:
  • double getDoubleValue()
  • int getIntValue()
Notes:
Accepts a number (double or integer) in an EditField. The bounded models will not accept values outside the specified range.

DialogComponentDoubleRange

Example:
Accepted SettingsModels:
SettingsModelDoubleRange
Getter methods:
  • double getMaxRange()
  • double getMinRange()
Notes:
Stores a minimum and a maximum floating point number.

DialogComponentPasswordField

Example:
Accepted SettingsModels:
SettingsModelStirng
Getter methods:
String getStringValue()
Notes:
Accepts any string in a textfield. The entered string will not be echoed - a dot appears for each character. The string stored in the settings model is not encrypted. The framework provides static encryption and decryption methods.

DialogComponentString

Example:
Accepted SettingsModels:
SettingsModelString
Getter methods:
String getStringValue()
Notes:
Stores any string entered in the field.

DialogComponentMultiLineString

Example:
Accepted SettingsModels:
SettingsModelString
Getter methods:
String getStringValue()
Notes:
Stores a string that could contain multiple lines

DialogComponentStringSelection

Example:
Accepted SettingsModels:
SettingsModelString
Getter methods:
String getStringValue()
Notes:
The user can select a string from a list. The combo box is not editable.

DialogComponentStringListSelection

Example:
Accepted SettingsModels:
SettingsModelStringArray
Getter methods:
String[] getStringArrayValue()
Notes:
The user can select multiple strings from a list. The list is not editable.

DialogComponentButton

Example:
Accepted SettingsModels:
none
ActionListener Methods:
void addActionListener(ActionListener listener)
void removeActionListener(ActionListener listener)
Notes:
A button component to which java.awt.event.ActionListenercan be added (and removed from).

DialogComponentButtonGroup

Example:
Accepted SettingsModels:
SettingsModelString
Getter methods:
String getStringValue
Notes:
The user can choose one option. The action command of the selected radio button is stored in the SettingsModelString.