|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OptionPane
An interface which defines the basical behavior of an option pane. Options panes are targeted to be displayed in an option dialogs.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |