View Javadoc
1 package samples; 2 3 import java.beans.*; 4 /*** 5 * 6 * @author baliuka 7 */ 8 public abstract class Bean implements java.io.Serializable{ 9 10 String sampleProperty; 11 12 abstract public void addPropertyChangeListener(PropertyChangeListener listener); 13 14 abstract public void removePropertyChangeListener(PropertyChangeListener listener); 15 16 public String getSampleProperty(){ 17 return sampleProperty; 18 } 19 20 public void setSampleProperty(String value){ 21 this.sampleProperty = value; 22 } 23 24 public String toString(){ 25 return "sampleProperty is " + sampleProperty; 26 } 27 28 }

This page was automatically generated by Maven