|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mil.af.afit.uvr.HEngineEvent
These events get passed from the engine to interested listeners
HEngine
,
HEngineListener
Field Summary | |
static int |
ENGINE_FINISHED
The event type when the engine has finished. |
static int |
ENGINE_STARTED
The event type when the engine has started |
static int |
NEW_BEST_SOLUTION
The event type when the engine has found a new best solution. |
static int |
PERCENT_DONE
The event type when the engine has reported its progress. |
static int |
SOLVER_STARTED
The event type when a solver has started |
Constructor Summary | |
HEngineEvent(int eventType,
java.lang.Object source)
Constructor for HEngineEvent |
Method Summary | |
int |
getEventType()
Returns the event type. |
HEngine |
getHEngine()
Returns the source of the event, casted to HEngine . |
java.lang.Object |
getSource()
Returns the source of the event. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ENGINE_STARTED
public static final int ENGINE_FINISHED
public static final int PERCENT_DONE
public static final int NEW_BEST_SOLUTION
public static final int SOLVER_STARTED
Constructor Detail |
public HEngineEvent(int eventType, java.lang.Object source)
HEngineEvent
eventType
- event typesource
- source of the event.
Normally this
is passed.Method Detail |
public final java.lang.Object getSource()
HEngine
HEngine
public final HEngine getHEngine()
HEngine
. This
is identical to
(HEngine) e.getSource();
HEngine
public final int getEventType()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |