KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > suberic > util > gui > propedit > PropertyEditorAdapter


1 package net.suberic.util.gui.propedit;
2
3 /**
4  * This listens to a PropertyEditorUI and reacts to changes.
5  */

6 public class PropertyEditorAdapter implements PropertyEditorListener {
7
8   /**
9    * 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, String JavaDoc property, String JavaDoc newValue) throws PropertyValueVetoException {
13
14   }
15
16   /**
17    * Called after a property changes.
18    */

19   public void propertyChanged(PropertyEditorUI source, String JavaDoc property, String JavaDoc newValue) {
20
21   }
22
23   /**
24    * Called when an editor is initialized with a set value.
25    */

26   public void propertyInitialized(PropertyEditorUI source, String JavaDoc property, String JavaDoc newValue) {
27
28   }
29
30   /**
31    * Called when a property is about to change. If the value is not ok
32    * with the listener, a PropertyValueVetoException should be thrown.
33    */

34   public void propertyCommitting(PropertyEditorUI source, String JavaDoc property, String JavaDoc newValue) throws PropertyValueVetoException {
35
36   }
37
38
39 }
40
Popular Tags