public abstract class BindableConfigurable extends java.lang.Object implements UnnamedConfigurable
Modifier and Type | Field and Description |
---|---|
protected ControlBinder |
myBinder |
Modifier | Constructor and Description |
---|---|
protected |
BindableConfigurable() |
protected |
BindableConfigurable(ControlBinder binder) |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
protected void |
bindAnnotations() |
protected void |
bindControl(ControlValueAccessor controlAccessor,
java.lang.String propertyName,
boolean instant) |
protected void |
bindControl(javax.swing.JComponent control,
java.lang.String propertyName,
boolean instant) |
protected ControlBinder |
getBinder() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, createComponent, disposeUIResources
protected ControlBinder myBinder
protected BindableConfigurable(ControlBinder binder)
protected BindableConfigurable()
protected void bindAnnotations()
protected void bindControl(javax.swing.JComponent control, java.lang.String propertyName, boolean instant)
protected void bindControl(ControlValueAccessor controlAccessor, java.lang.String propertyName, boolean instant)
public boolean isModified()
UnnamedConfigurable
isModified
in interface UnnamedConfigurable
true
if the settings were modified, false
otherwisepublic void apply() throws ConfigurationException
UnnamedConfigurable
apply
in interface UnnamedConfigurable
ConfigurationException
- if values cannot be appliedpublic void reset()
UnnamedConfigurable
reset
in interface UnnamedConfigurable
protected ControlBinder getBinder()