|
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.VetoSystemOption
public abstract class VetoSystemOption
Extends the functionality of SystemOption
by providing support for veto listeners.
| Constructor Summary | |
|---|---|
VetoSystemOption()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addVetoableChangeListener(VetoableChangeListener list)
Add a new veto listener to all instances of this exact class. |
void |
fireVetoableChange(String name,
Object oldValue,
Object newValue)
Fire a property change event. |
void |
removeVetoableChangeListener(VetoableChangeListener list)
Remove a veto listener from all instances of this exact class. |
| Methods inherited from class org.openide.options.SystemOption |
|---|
clearSharedData, displayName, firePropertyChange, getHelpCtx, getName, isReadExternal, isWriteExternal, readExternal, reset, writeExternal |
| Methods inherited from class org.openide.util.SharedClassObject |
|---|
addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, getLock, getProperty, hashCode, initialize, putProperty, putProperty, removeNotify, removePropertyChangeListener, writeReplace |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VetoSystemOption()
| Method Detail |
|---|
public final void addVetoableChangeListener(VetoableChangeListener list)
list - the listener to addpublic final void removeVetoableChangeListener(VetoableChangeListener list)
list - the listener to removepublic final void fireVetoableChange(String name, Object oldValue, Object newValue) throws PropertyVetoException
name - the name of the propertyoldValue - the old valuenewValue - the new value
PropertyVetoException - if the change is vetoed
|
org.openide.options 6.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||