|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swath.event.SwathEvent
com.swath.event.ShipDockedAtPort
The ShipDockedAtPort event.
Posted: When a ship docks at a port.
ShipLeftSector| Method Summary | |
boolean |
atStarDock()
Indicates if the ship docked at the StarDock or not. |
java.lang.String |
getClassName()
Gets the event class name. |
int |
getSector()
Gets the sector where the ship docked at the port. |
Ship |
getShip()
Gets the ship that docked. |
Trader |
getTrader()
Gets the trader that docked. |
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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public Trader getTrader()
public Ship getShip()
null if not known.public int getSector()
public boolean atStarDock()
true if docked at StarDock,
otherwise false.public final boolean isEventClass(java.lang.Class eventClass)
EventIfc
isEventClass in interface EventIfceventClass - The event class.
true if this event is of the same class,
otherwise false.public final boolean isUserDefined()
EventIfc
isUserDefined in interface EventIfctrue if user defined, otherwise false.public final java.lang.String getClassName()
EventIfc
getClassName in interface EventIfc
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||