com.swath
Interface EventIfc

All Known Implementing Classes:
Connected, DamageReport, Disconnected, ExampleEvent1, FedCommMessage, FightersDestroyed, GameLoaded, HistoryEvent, HotKeyPressed, HotKeyReleased, InactivityWarning, LimpetActivated, LimpetWarning, PhotonWave, PrivateMessage, ProbeDestroyed, ProbeEnteredSector, ProbeSelfDestructed, ScriptAborted, ScriptFinished, ShipDockedAtPort, ShipEnteredSector, ShipLandedOnPlanet, ShipLeftPlanet, ShipLeftPort, ShipLeftSector, SSRadioMessage, TraderClearedBust, TraderEnteredGame, TraderIsAttacking, TraderLeftGame, TraderPaidToll, TraderPowersUpWeapons, TraderRetreated, TradeWarsMessage, UserButtonPressed, UserDefinedEvent, YouAreBusted, YouDestroyedProbe, YouEnteredGame, YouEnteredSector, YouLeftGame

public interface EventIfc

This is the Event interface.

Since:
SWATH 1.7

Method Summary
 java.lang.String getClassName()
          Gets the event class name.
 boolean isEventClass(java.lang.Class eventClass)
          Indicates if this event matches a given event class.
 boolean isUserDefined()
          Indicates if this event is user defined or not.
 

Method Detail

isEventClass

boolean isEventClass(java.lang.Class eventClass)
Indicates if this event matches a given event class.

Parameters:
eventClass - The event class.
Returns:
true if this event is of the same class, otherwise false.
Since:
SWATH 1.7

isUserDefined

boolean isUserDefined()
Indicates if this event is user defined or not.

Returns:
true if user defined, otherwise false.
Since:
SWATH 1.7

getClassName

java.lang.String getClassName()
Gets the event class name.

Returns:
The class name.
Since:
SWATH 1.7