org.openide.options
Class  VetoSystemOption
java.lang.Object
  |
  +--org.openide.util.SharedClassObject
        |
        +--org.openide.options.SystemOption
              |
              +--org.openide.options.VetoSystemOption
- All Implemented Interfaces: 
 - Externalizable, Serializable
 
- public abstract class VetoSystemOption
- extends SystemOption
  
Extends the functionality of SystemOption
 by providing support for veto listeners.
- See Also: 
 - Serialized Form
 
 
 
 
| Methods inherited from class org.openide.util.SharedClassObject | 
addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, getLock, getProperty, hashCode, initialize, putProperty, putProperty, removeNotify, removePropertyChangeListener, writeReplace | 
 
 
VetoSystemOption
public VetoSystemOption()
- Default constructor.
 
addVetoableChangeListener
public final void addVetoableChangeListener(VetoableChangeListener list)
- Add a new veto listener to all instances of this exact class.
- Parameters:
 list - the listener to add
 
 
removeVetoableChangeListener
public final void removeVetoableChangeListener(VetoableChangeListener list)
- Remove a veto listener from all instances of this exact class.
- Parameters:
 list - the listener to remove
 
 
fireVetoableChange
public final void fireVetoableChange(String name,
                                     Object oldValue,
                                     Object newValue)
                              throws PropertyVetoException
- Fire a property change event.
- Parameters:
 name - the name of the propertyoldValue - the old valuenewValue - the new value- Throws:
 PropertyVetoException - if the change is vetoed
 
 
Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.