1 25 41 package org.jgrapht.event; 42 43 53 public class GraphEdgeChangeEvent<V, E> 54 extends GraphChangeEvent 55 { 56 57 59 private static final long serialVersionUID = 3618134563335844662L; 60 61 65 public static final int BEFORE_EDGE_ADDED = 21; 66 67 71 public static final int BEFORE_EDGE_REMOVED = 22; 72 73 76 public static final int EDGE_ADDED = 23; 77 78 82 public static final int EDGE_REMOVED = 24; 83 84 86 89 protected E edge; 90 91 93 100 public GraphEdgeChangeEvent(Object eventSource, int type, E e) 101 { 102 super(eventSource, type); 103 edge = e; 104 } 105 106 108 113 public E getEdge() 114 { 115 return edge; 116 } 117 } 118 | Popular Tags |