01: package net.suberic.util.gui.propedit;
02:
03: /**
04: * This listens to a PropertyEditorUI and reacts to changes.
05: */
06: public class PropertyEditorAdapter implements PropertyEditorListener {
07:
08: /**
09: * Called when a property is about to change. If the value is not ok
10: * with the listener, a PropertyValueVetoException should be thrown.
11: */
12: public void propertyChanging(PropertyEditorUI source,
13: String property, String newValue)
14: throws PropertyValueVetoException {
15:
16: }
17:
18: /**
19: * Called after a property changes.
20: */
21: public void propertyChanged(PropertyEditorUI source,
22: String property, String newValue) {
23:
24: }
25: }
|