TrustGrapher
r52
A playabale simulator for modelling trust between agents
|
Classes | |
class | ListListener |
Public Member Functions | |
LogPanel (EventPlayer eventThread) | |
EventPlayer | getEventPlayer () |
void | goToIndex (int eventIndex) |
Protected Attributes | |
JTable | logTable |
JPopupMenu | menu |
EventPlayer | eventThread |
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.
Definition at line 25 of file LogPanel.java.
cu.trustGrapher.eventplayer.LogPanel.LogPanel | ( | EventPlayer | eventThread | ) |
EventPlayer cu.trustGrapher.eventplayer.LogPanel.getEventPlayer | ( | ) |
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.
eventIndex | The index of the row to change to |
Implements cu.trustGrapher.eventplayer.EventPlayerListener.
Definition at line 112 of file LogPanel.java.
Definition at line 29 of file LogPanel.java.
JTable cu.trustGrapher.eventplayer.LogPanel.logTable [protected] |
Definition at line 27 of file LogPanel.java.
JPopupMenu cu.trustGrapher.eventplayer.LogPanel.menu [protected] |
Definition at line 28 of file LogPanel.java.