author | Jaroslav Tulach <jtulach@netbeans.org> |
Sun, 20 Mar 2011 08:12:26 +0100 | |
changeset 373 | c20d1d8ef2ca |
permissions | -rw-r--r-- |
1 package org.apidesign.openfixed;
3 import java.util.EventObject;
5 // BEGIN: openfixed.event
6 public final class GrowingEvent extends EventObject {
7 public GrowingEvent(Object source) {
8 super(source);
9 }
10 // FINISH: openfixed.event
12 // BEGIN: openfixed.addgetter
13 private int index;
14 /** @since 2.0 */
15 public GrowingEvent(Object source, int index) {
16 super(source);
17 this.index = index;
18 }
20 /** @since 2.0 */
21 public int getIndex() {
22 return index;
23 }
24 // END: openfixed.addgetter
25 }