TrustGrapher  r52
A playabale simulator for modelling trust between agents
cu.trustGrapher.visualizer.GraphViewer Class Reference

List of all members.

Public Member Functions

 GraphViewer (final Layout layout, DefaultModalGraphMouse< Agent, TestbedEdge > gm, MouseAdapter mouseClickListener, SimAbstractGraph graph)
JungAdapterGraph getFullGraph ()

Detailed Description

This is a GraphViewer component. The viewers are created in TrustGrapher after the events have been loaded Each GraphViewer displays the graph passed to it.

Author:
Andrew O'Hara

Definition at line 22 of file GraphViewer.java.


Constructor & Destructor Documentation

cu.trustGrapher.visualizer.GraphViewer.GraphViewer ( final Layout  layout,
DefaultModalGraphMouse< Agent, TestbedEdge gm,
MouseAdapter  mouseClickListener,
SimAbstractGraph  graph 
)

Creates a new GraphViewer.

Parameters:
layoutManages how the graph entities will be organized in the viewer window
gmThis mouse adapter handles the selection and dragging of the GraphViewer
mouseClickListener//Listener for GraphViewer right-click menu
graphThe graph that this viewer will display

Definition at line 33 of file GraphViewer.java.

Here is the call graph for this function:


Member Function Documentation

JungAdapterGraph cu.trustGrapher.visualizer.GraphViewer.getFullGraph ( )
Returns:
Returns the fullGraph of the graph that is displayed by this GraphViewer

Definition at line 56 of file GraphViewer.java.

Here is the caller graph for this function:


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