1 18 19 package alt.jiapi.event; 20 21 import java.util.EventObject ; 22 23 31 public class FieldEvent extends JiapiEvent { 32 35 public static final int FIELD_SET = 1; 36 37 40 public static final int FIELD_GET = 2; 41 42 43 53 public FieldEvent(FieldEventProducer fep, Object sourceObject, 54 String fieldName, int id) { 55 super(fep, sourceObject, fieldName, null, id); 56 } 57 58 69 public FieldEvent(FieldEventProducer fep, Object sourceObject, 70 String fieldName, Object target, int id) { 71 super(fep, sourceObject, fieldName, target, id); 72 } 73 74 75 78 public String getFieldName() { 79 return super.getTargetName(); 80 } 81 } 82 83 84 | Popular Tags |