diff -r 000000000000 -r c20d1d8ef2ca samples/openfixed/src/org/apidesign/openfixed/GrowingEvent.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samples/openfixed/src/org/apidesign/openfixed/GrowingEvent.java Sun Mar 20 08:12:26 2011 +0100 @@ -0,0 +1,25 @@ +package org.apidesign.openfixed; + +import java.util.EventObject; + +// BEGIN: openfixed.event +public final class GrowingEvent extends EventObject { + public GrowingEvent(Object source) { + super(source); + } +// FINISH: openfixed.event + +// BEGIN: openfixed.addgetter + private int index; + /** @since 2.0 */ + public GrowingEvent(Object source, int index) { + super(source); + this.index = index; + } + + /** @since 2.0 */ + public int getIndex() { + return index; + } +// END: openfixed.addgetter +}