|
Oxygen XML Editor 13.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface OptionsStorageThis interface should be used if Author extension level options need to be stored and retrieved.
| Method Summary | |
|---|---|
void |
addOptionListener(OptionListener listener)
Adds an OptionListener to the current set of options. |
java.lang.String |
getOption(java.lang.String key,
java.lang.String defaultValue)
Provides the value of the option associated with the specified key. |
void |
removeOptionListener(OptionListener listener)
Removes an option listener from the current set of option listeners. |
void |
setOption(java.lang.String key,
java.lang.String value)
Modifies the value of an option. |
| Method Detail |
|---|
void addOptionListener(OptionListener listener)
OptionListener to the current set of options.
The listener is notified when the value of its associated option changes.
listener - The OptionListener to be added.void removeOptionListener(OptionListener listener)
listener - The OptionListener to be removed.
java.lang.String getOption(java.lang.String key,
java.lang.String defaultValue)
key - The key that uniquely identifies an option.defaultValue - The default value for the specified option.
void setOption(java.lang.String key,
java.lang.String value)
null
The option will be removed from storage.
key - The key of the option whose value is to be modified.value - The new value of the option. If null
the option will be removed from the storage.
|
Oxygen XML Editor 13.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||