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

List of all members.

Classes

class  ListListener

Public Member Functions

 LogPanel (EventPlayer eventThread)
EventPlayer getEventPlayer ()
void goToIndex (int eventIndex)

Protected Attributes

JTable logTable
JPopupMenu menu
EventPlayer eventThread

Detailed Description

The Log Panel always exists when graphs are loaded, but it is only displayed when the check box option for it is checked. It displays the TrustlogEvents that are loaded into the graph, and highlights the current event. You can click a row to have the simulator go to the event represented by that row, or scrub the list. You can right-click on an event to add, modify, or remove an event.

This class is just the panel and handlers. TrustGrapher handles the placing and removal of the Panel, and EventPlayer tells it when to update itself only if EventPlayer adds it as a listener.

Author:
Andrew O'Hara

Definition at line 25 of file LogPanel.java.


Constructor & Destructor Documentation

cu.trustGrapher.eventplayer.LogPanel.LogPanel ( EventPlayer  eventThread)

Definition at line 32 of file LogPanel.java.

Here is the call graph for this function:


Member Function Documentation

EventPlayer cu.trustGrapher.eventplayer.LogPanel.getEventPlayer ( )
Returns:
returns the eventPlayer that this is attached to

Implements cu.trustGrapher.eventplayer.EventPlayerListener.

Definition at line 41 of file LogPanel.java.

void cu.trustGrapher.eventplayer.LogPanel.goToIndex ( int  eventIndex)

Highlights the row in the log table specified by the eventIndex. This should only be called by the EventPlayer to notify it that the currentEventIndex has changed.

Parameters:
eventIndexThe index of the row to change to

Implements cu.trustGrapher.eventplayer.EventPlayerListener.

Definition at line 112 of file LogPanel.java.

Here is the call graph for this function:


Member Data Documentation

Definition at line 27 of file LogPanel.java.

Definition at line 28 of file LogPanel.java.


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