java.lang.Object
java.util.EventObject
org.jgrapht.event.ConnectedComponentTraversalEvent
- All Implemented Interfaces:
Serializable
A traversal event with respect to a connected component.
- Author:
- Barak Naveh
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Connected component traversal finished event.static final int
Connected component traversal started event.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionConnectedComponentTraversalEvent
(Object eventSource, int type) Creates a new ConnectedComponentTraversalEvent. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
CONNECTED_COMPONENT_STARTED
public static final int CONNECTED_COMPONENT_STARTEDConnected component traversal started event.- See Also:
-
CONNECTED_COMPONENT_FINISHED
public static final int CONNECTED_COMPONENT_FINISHEDConnected component traversal finished event.- See Also:
-
-
Constructor Details
-
ConnectedComponentTraversalEvent
Creates a new ConnectedComponentTraversalEvent.- Parameters:
eventSource
- the source of the event.type
- the type of event.
-
-
Method Details
-
getType
public int getType()Returns the event type.- Returns:
- the event type.
-