1 25 41 package org.jgrapht.event; 42 43 import java.util.*; 44 45 46 52 public class ConnectedComponentTraversalEvent 53 extends EventObject 54 { 55 56 58 private static final long serialVersionUID = 3834311717709822262L; 59 60 63 public static final int CONNECTED_COMPONENT_STARTED = 31; 64 65 68 public static final int CONNECTED_COMPONENT_FINISHED = 32; 69 70 72 75 private int type; 76 77 79 85 public ConnectedComponentTraversalEvent(Object eventSource, int type) 86 { 87 super(eventSource); 88 this.type = type; 89 } 90 91 93 98 public int getType() 99 { 100 return type; 101 } 102 } 103 | Popular Tags |