public interface UnnamedConfigurable
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
default void |
cancel()
Called when 'Cancel' is pressed in the Settings dialog.
|
javax.swing.JComponent |
createComponent()
Creates new Swing form that enables user to configure the settings.
|
default void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
default void |
reset()
Loads the settings from the configurable component to the Swing form.
|
javax.swing.JComponent createComponent()
Also this place is designed to allocate resources (subscriptions/listeners etc.)
null
if it cannot be createddisposeUIResources()
boolean isModified()
true
if the settings were modified, false
otherwisevoid apply() throws ConfigurationException
ConfigurationException
- if values cannot be applieddefault void reset()
default void disposeUIResources()
default void cancel()