public interface OptionPane
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getComponent()
Returns the component which stands for the option
pane itself.
|
java.lang.String |
getName()
Returns the name of the option pane.
|
boolean |
isCacheable()
This is implemented in AbstractOptionPane and returns false by default; if your plugin
has a working load() method (not the one provided by AbstractOptionPane), you must override
it as
public boolean isCacheable() {return true;}
It is not allowed to return different values. |
void |
load()
When the user closes the option dialog by clicking cancel, the settings have to be
reloaded next time the dialog appears, so this method is called.
|
void |
save()
When user closes an option dialog by clicking ok,
the settings have to be changed.
|
java.lang.String getName()
java.awt.Component getComponent()
void save()
boolean isCacheable()
public boolean isCacheable() {return true;}
It is not allowed to return different values.void load()
Copyright ? 2002 Romain Guy.