|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.util.EventObject
|
+--haifa.shopsim.ShopChangeEvent
This Class is part of the ShopChangeListener Observer scheme. An Object of this class is passed to all listeners. every time the shop changes.
| Field Summary | |
private double |
time
The simulation time of the event. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ShopChangeEvent(java.lang.Object source,
double time_)
Constructs with the source being the object on which this event occured and the simulation time. |
|
| Method Summary | |
double |
getTime()
Get the simulation time relating to this event. |
java.lang.String |
toString()
Returns time. |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private double time
| Constructor Detail |
public ShopChangeEvent(java.lang.Object source,
double time_)
| Method Detail |
public double getTime()
public java.lang.String toString()
toString in class java.util.EventObject
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||