TrustGrapher
r52
A playabale simulator for modelling trust between agents
|
Public Member Functions | |
EventInjector (EventPlayer eventThread, int mode) | |
Static Public Member Functions | |
static void | getNewEvent (EventPlayer eventThread) |
static void | modifyEvent (EventPlayer eventThread) |
Protected Attributes | |
EventPlayer | eventThread |
Package Attributes | |
static final int | MODIFY = 1 |
This window is used to create a new or modified TrustLogEvent to modify the logEvents. It is meant to be run statically through the getNewEvent and modifyEvent static methods. After the user has entered valid info and clicked ok, the window will be disposed, then the appropriate eventThread method will be called, and will handle the rest of the work.
Definition at line 13 of file EventInjector.java.
cu.trustGrapher.eventplayer.EventInjector.EventInjector | ( | EventPlayer | eventThread, |
int | mode | ||
) |
Initializes the components and then updates the controls to reflect the current settings
eventThread | The EventPlayer is needed so that the appropriate handler method can be called to modify the logEvents |
mode | Whether this window is in create or modify mode. |
Definition at line 25 of file EventInjector.java.
static void cu.trustGrapher.eventplayer.EventInjector.getNewEvent | ( | EventPlayer | eventThread | ) | [static] |
static void cu.trustGrapher.eventplayer.EventInjector.modifyEvent | ( | EventPlayer | eventThread | ) | [static] |
Definition at line 17 of file EventInjector.java.
final int cu.trustGrapher.eventplayer.EventInjector.MODIFY = 1 [package] |
Definition at line 15 of file EventInjector.java.