|
org.openide.options 6.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openide.util.SharedClassObject
org.openide.options.SystemOption
org.openide.options.ContextSystemOption
public abstract class ContextSystemOption
Provides a group of system options with this as the parent.
You must still implement SystemOption.displayName()
, at least.
The suboptions are automatically saved as a group.
Field Summary | |
---|---|
protected BeanContext |
beanContext
Deprecated. To obtain bean context use getBeanContextProxy() . |
Constructor Summary | |
---|---|
ContextSystemOption()
Default constructor. |
Method Summary | |
---|---|
void |
addOption(SystemOption so)
Add a new option to the set. |
BeanContextChild |
getBeanContextProxy()
|
SystemOption[] |
getOptions()
Get all options in the set. |
protected void |
initialize()
|
void |
readExternal(ObjectInput in)
Read all properties of this object (or subclasses) from an object input. |
void |
removeOption(SystemOption so)
Remove an option from the set. |
void |
writeExternal(ObjectOutput out)
Write all properties of this object (or subclasses) to an object output. |
Methods inherited from class org.openide.options.SystemOption |
---|
clearSharedData, displayName, firePropertyChange, getHelpCtx, getName, isReadExternal, isWriteExternal, reset |
Methods inherited from class org.openide.util.SharedClassObject |
---|
addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, getLock, getProperty, hashCode, putProperty, putProperty, removeNotify, removePropertyChangeListener, writeReplace |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BeanContext beanContext
getBeanContextProxy()
.
Constructor Detail |
---|
public ContextSystemOption()
Method Detail |
---|
public final void addOption(SystemOption so)
so
- the option to addpublic final void removeOption(SystemOption so)
so
- the option to removepublic final SystemOption[] getOptions()
public final BeanContextChild getBeanContextProxy()
getBeanContextProxy
in interface BeanContextProxy
protected void initialize()
initialize
in class SharedClassObject
public void writeExternal(ObjectOutput out) throws IOException
SystemOption
writeExternal
in interface Externalizable
writeExternal
in class SystemOption
out
- the output stream
IOException
- on errorpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
SystemOption
readExternal
in interface Externalizable
readExternal
in class SystemOption
in
- the input stream
IOException
- on error
ClassNotFoundException
|
org.openide.options 6.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |