edu.umd.cfar.lamp.viper.gui.chronology
Class ViperChronicleView

java.lang.Object
  extended byChronicleViewer
      extended byedu.umd.cfar.lamp.viper.gui.chronology.ViperChronicleView

public class ViperChronicleView
extends ChronicleViewer

Author:
davidm
See Also:
Serialized Form

Constructor Summary
ViperChronicleView()
          Creates a new ChronicleViewer.
ViperChronicleView(ViperViewMediator mediator, com.hp.hpl.jena.rdf.model.Resource ref)
          Creates a new ChronicleViewer, using the mediator as the data model.
 
Method Summary
 java.awt.event.ActionListener getExpandAllActionListener()
           
 java.awt.event.ActionListener getFitChronicleActionListener()
           
 ViperViewMediator getMediator()
           
static void main(java.lang.String[] args)
          Create a simple view of the viper file passed in the command line argument.
static void printUsage()
           
 void setMediator(ViperViewMediator med)
           
 void setRef(com.hp.hpl.jena.rdf.model.Resource ref)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViperChronicleView

public ViperChronicleView(ViperViewMediator mediator,
                          com.hp.hpl.jena.rdf.model.Resource ref)
                   throws java.io.IOException
Creates a new ChronicleViewer, using the mediator as the data model.

Parameters:
mediator -
ref - the reference preference resource
Throws:
java.io.IOException

ViperChronicleView

public ViperChronicleView()
Creates a new ChronicleViewer.

Method Detail

setRef

public void setRef(com.hp.hpl.jena.rdf.model.Resource ref)

printUsage

public static void printUsage()

getFitChronicleActionListener

public java.awt.event.ActionListener getFitChronicleActionListener()

main

public static void main(java.lang.String[] args)
                 throws java.net.URISyntaxException
Create a simple view of the viper file passed in the command line argument. Attempts to create a view of the first sourcefile found in the metadatafile, searching the user's file system if necessary.

Parameters:
args - the command line arguments
Throws:
java.net.URISyntaxException

setMediator

public void setMediator(ViperViewMediator med)

getMediator

public ViperViewMediator getMediator()

getExpandAllActionListener

public java.awt.event.ActionListener getExpandAllActionListener()