|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgui.Screen
View to connect a customized JettyWindow to the rest of the agent system. The view contain methods that post event to the agent system, and that invoke methods in the JettyWindow
JettyWindow
Field Summary | |
aos.jack.jak.event.EventRecipient |
_event_recipient
|
ShipArrival |
sAev
|
Constructor Summary | |
Screen()
Constructor for Screen This constructor instaciate this applications window. |
Method Summary | |
aos.jack.jak.event.Event |
_findEvent(aos.jack.jak.event.EventRecipient er,
java.lang.String en)
|
boolean |
attach(aos.jack.jak.event.EventRecipient er)
|
void |
displayShip(int berthId,
Ship ship)
Method for displaying a ship This method call an insert method in the JettyWindow, with the ship that should be displayed and id for the Berth it should be allocated to. |
java.lang.String |
getDocumentation()
|
void |
initWindow(java.util.ArrayList berthList,
java.util.ArrayList shipList)
Method for initializing the JettyWindow This method call methods in the JettyWindow, with lists containing Ships and Berths |
void |
mooveShip(Ship ship)
Method when a ship has changed information This method post an event to a plan for the GUI agent, to inform that ship information is changed |
void |
postEvent(aos.jack.jak.event.Event e)
|
void |
submitShip(Ship ship)
Method when a ship is submitted This method post an event to a plan for the GUI agent, to inform that ship information is submitted |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public aos.jack.jak.event.EventRecipient _event_recipient
public ShipArrival sAev
Constructor Detail |
public Screen()
Method Detail |
public void initWindow(java.util.ArrayList berthList, java.util.ArrayList shipList)
public void displayShip(int berthId, Ship ship)
public void submitShip(Ship ship)
public void mooveShip(Ship ship)
public java.lang.String getDocumentation()
public void postEvent(aos.jack.jak.event.Event e)
public boolean attach(aos.jack.jak.event.EventRecipient er)
attach
in interface aos.jack.jak.event.EventSource
public aos.jack.jak.event.Event _findEvent(aos.jack.jak.event.EventRecipient er, java.lang.String en)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |