org.argkit.dung.swing
Class JungJustificationWriter<C>

java.lang.Object
  extended by org.argkit.dung.swing.JungDungEngineWriter<C>
      extended by org.argkit.dung.swing.JungJustificationWriter<C>
Type Parameters:
C - (Argument's) claim class
All Implemented Interfaces:
ReasonerWriter<C>

public class JungJustificationWriter<C>
extends JungDungEngineWriter<C>

Builds a graph that illustrates the argument game for a particular argument.

Author:
Matt South

Nested Class Summary
static class JungJustificationWriter.MessageFormatter
          A logging formatter that only shows the message: nothing else
 
Nested classes/interfaces inherited from class org.argkit.dung.swing.JungDungEngineWriter
JungDungEngineWriter.Layouts
 
Field Summary
 
Fields inherited from class org.argkit.dung.swing.JungDungEngineWriter
g, index, vv
 
Constructor Summary
JungJustificationWriter(edu.uci.ics.jung.visualization.VisualizationViewer viewer, Dungine<C> engine)
           
 
Method Summary
static edu.uci.ics.jung.visualization.VisualizationViewer makeViewer()
          Factory for generating an empty visualization viewer that can be used to make a jung graph writer.
 void write(Argument<C> focus)
          Use this method to draw the dialogue behind the argument game for a particular argument.
 void write(Dungine<C> engine)
          Use this method to write the annotated defeat network available from a dungine instance.
 
Methods inherited from class org.argkit.dung.swing.JungDungEngineWriter
getViewer, makeViewer, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JungJustificationWriter

public JungJustificationWriter(edu.uci.ics.jung.visualization.VisualizationViewer viewer,
                               Dungine<C> engine)
Method Detail

write

public void write(Argument<C> focus)
Use this method to draw the dialogue behind the argument game for a particular argument.

Overrides:
write in class JungDungEngineWriter<C>

write

public void write(Dungine<C> engine)
Description copied from class: JungDungEngineWriter
Use this method to write the annotated defeat network available from a dungine instance.

Specified by:
write in interface ReasonerWriter<C>
Overrides:
write in class JungDungEngineWriter<C>

makeViewer

public static edu.uci.ics.jung.visualization.VisualizationViewer makeViewer()
Factory for generating an empty visualization viewer that can be used to make a jung graph writer.

Returns:
empty VisualizationViewer.