|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvanetsim.scenario.events.Event
public abstract class Event
An abstract class for events.
| Constructor Summary | |
|---|---|
Event()
|
|
| Method Summary | |
|---|---|
abstract void |
destroy()
Destroys itself. |
abstract void |
execute()
This function should be called when the event is due. |
abstract java.lang.String |
getText()
Returns a descriptive text for display in the GUI. |
java.awt.Color |
getTextColor()
Gets the color of the descriptive text for display in the GUI. |
int |
getTime()
Gets the time when this event will be fired. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public Event()
| Method Detail |
|---|
public abstract java.lang.String getText()
public abstract void destroy()
public abstract void execute()
public int getTime()
getTime()public java.awt.Color getTextColor()
getTextColor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||