org._3pq.jgrapht.event

Class ConnectedComponentTraversalEvent


public class ConnectedComponentTraversalEvent
extends EventObject

A traversal event with respect to a connected component.
Author:
Barak Naveh
Since:
Aug 11, 2003

Field Summary

static int
CONNECTED_COMPONENT_FINISHED
Connected component traversal finished event.
static int
CONNECTED_COMPONENT_STARTED
Connected component traversal started event.

Constructor Summary

ConnectedComponentTraversalEvent(Object eventSource, int type)
Creates a new ConnectedComponentTraversalEvent.

Method Summary

int
getType()
Returns the event type.

Field Details

CONNECTED_COMPONENT_FINISHED

public static final int CONNECTED_COMPONENT_FINISHED
Connected component traversal finished event.
Field Value:
32

CONNECTED_COMPONENT_STARTED

public static final int CONNECTED_COMPONENT_STARTED
Connected component traversal started event.
Field Value:
31

Constructor Details

ConnectedComponentTraversalEvent

public ConnectedComponentTraversalEvent(Object eventSource,
                                        int type)
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.