TrustGrapher  r52
A playabale simulator for modelling trust between agents
cu.trustGrapher.eventplayer.EventInjector Class Reference
Collaboration diagram for cu.trustGrapher.eventplayer.EventInjector:

List of all members.

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

Detailed Description

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.

Author:
Andrew O'Hara

Definition at line 13 of file EventInjector.java.


Constructor & Destructor Documentation

cu.trustGrapher.eventplayer.EventInjector.EventInjector ( EventPlayer  eventThread,
int  mode 
)

Initializes the components and then updates the controls to reflect the current settings

Parameters:
eventThreadThe EventPlayer is needed so that the appropriate handler method can be called to modify the logEvents
modeWhether this window is in create or modify mode.

Definition at line 25 of file EventInjector.java.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

static void cu.trustGrapher.eventplayer.EventInjector.getNewEvent ( EventPlayer  eventThread) [static]

Definition at line 48 of file EventInjector.java.

Here is the call graph for this function:

static void cu.trustGrapher.eventplayer.EventInjector.modifyEvent ( EventPlayer  eventThread) [static]

Definition at line 52 of file EventInjector.java.

Here is the call graph for this function:


Member Data Documentation

Definition at line 15 of file EventInjector.java.


The documentation for this class was generated from the following file: