public abstract class ContextSystemOption extends SystemOption implements BeanContextProxy
SystemOption.displayName()
, at least.
The suboptions are automatically saved as a group.Modifier and Type | Field and Description |
---|---|
protected BeanContext |
beanContext
Deprecated.
To obtain bean context use
ContextSystemOption.getBeanContextProxy() . |
Constructor and Description |
---|
ContextSystemOption()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clearSharedData, displayName, firePropertyChange, getHelpCtx, getName, isReadExternal, isWriteExternal, reset
addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, getLock, getProperty, hashCode, putProperty, putProperty, removeNotify, removePropertyChangeListener, writeReplace
@Deprecated protected BeanContext beanContext
ContextSystemOption.getBeanContextProxy()
.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 streamIOException
- on errorpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
SystemOption
readExternal
in interface Externalizable
readExternal
in class SystemOption
in
- the input streamIOException
- on errorClassNotFoundException
- if a class used to restore the system option is not found