1 19 24 package org.openide.explorer.propertysheet; 25 26 import java.awt.event.*; 27 28 29 36 class PropertySetModelEvent extends java.util.EventObject { 37 public static final int TYPE_INSERT = 0; 38 public static final int TYPE_REMOVE = 1; 39 public static final int TYPE_WHOLESALE_CHANGE = 2; 40 int type = 2; 41 int start = -1; 42 int end = -1; 43 boolean reordering = false; 44 45 46 public PropertySetModelEvent(Object source) { 47 super(source); 48 } 49 50 51 public PropertySetModelEvent(Object source, int type, int start, int end, boolean reordering) { 52 super(source); 53 this.type = type; 54 this.start = start; 55 this.end = end; 56 this.reordering = reordering; 57 } 58 59 67 public int getType() { 68 return type; 69 } 70 71 72 public int getStartRow() { 73 return start; 74 } 75 76 80 public int getEndRow() { 81 return end; 82 } 83 84 public boolean isReordering() { 85 return reordering; 86 } 87 } 88 | Popular Tags |