org.openide.options
Class ControlPanel
java.lang.Object
|
+--org.openide.options.ControlPanel
- All Implemented Interfaces:
- Serializable
- public class ControlPanel
- extends Object
- implements Serializable
Singleton pool with a list of options for the entire IDE.
Provides "safe" serialization of options
(i.e. failures are per-property, not per-option nor per-pool).
- See Also:
- Serialized Form
Constructor Summary |
ControlPanel()
Default constructor, not to be called by user code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControlPanel
public ControlPanel()
- Default constructor, not to be called by user code.
- See Also:
TopManager.getControlPanel()
add
public boolean add(SystemOption so)
- Add a new option to the pool.
- Parameters:
so
- the option to add- Returns:
true
if the object was added; false
if it was already there
remove
public boolean remove(SystemOption so)
- Remove an option from the pool.
- Parameters:
so
- the option to remove- Returns:
true
if the option was removed; false
if it was not there anyway
getSystemOptions
public SystemOption[] getSystemOptions()
- Get all options in the pool.
- Returns:
- the options
writeExternal
public void writeExternal(ObjectOutput oo)
throws IOException
readExternal
public void readExternal(ObjectInput oi)
throws IOException,
ClassNotFoundException
writeReplace
public final Object writeReplace()
Built on February 22 2001. | Portions Copyright 1997-2000 Sun Microsystems, Inc. All rights reserved.