1 7 package org.ejtools.adwt.editor; 8 9 import java.beans.PropertyEditorSupport ; 10 11 18 public abstract class GenericEditor extends PropertyEditorSupport  19 { 20 21 protected Object value = null; 22 23 24 25 public GenericEditor() { } 26 27 28 33 public Object getValue() 34 { 35 return this.value; 36 } 37 38 39 44 public void setValue(Object object) 45 { 46 if (object == null) 47 { 48 return; 49 } 50 this.value = object; 51 this.firePropertyChange(); 52 } 53 } 54 | Popular Tags |