All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdsltools.visualization.cs16Viz

java.lang.Object
   |
   +----jdsltools.visualization.cs16Viz

public class cs16Viz
extends Object
implements Instantiator
This is the instantiator for the visualizer. It contains methods to parse commandline options and also to run the visualizer as either an application or as an applet in appletViewer or a browser (or to initialize the visualizer based on instantiation and a call from another class). It discerns from the AddContainerDialogFrame dialog (or the user's input) what data structure the user would like and passes it into the visualization controller. Can be instantiated using options demo (prompts user with demo classes) and/or invisible (visualizer waits to be passed a class to display before anything appears) Also can be instantiated with a data structure type or class name passed in by the instantiator.

Author:
Ryan Shaun Baker, Mark Handy, Marcin Romaszewicz, Lubomir Bourdev

Variable Index

 o CLASS
 o DEFAULT
 o displayableInstance
 o TYPES

Constructor Index

 o cs16Viz(String)
Used for the creation of the visualizer by class instantiation with an option flag
 o cs16Viz(String[])
Used for instantiation of the visualizer from the commandline

Method Index

 o cancel()
 o init(String)
 o main(String[])
 o newAnimation()
 o newData(String, String, String)
Loads the requested class into the visualizer (if it's a URL, also loads in dependency classes) creating an instance of the class that the visualizer will use.
 o setTypes(Choice)

Variables

 o TYPES
 public static final String TYPES[]
 o CLASS
 public static String CLASS[]
 o DEFAULT
 public static final int DEFAULT
 o displayableInstance
 public static Container displayableInstance

Constructors

 o cs16Viz
 public cs16Viz(String option)
Used for the creation of the visualizer by class instantiation with an option flag

 o cs16Viz
 public cs16Viz(String args[])
Used for instantiation of the visualizer from the commandline

Methods

 o main
 public static void main(String args[])
 o setTypes
 public void setTypes(Choice items)
 o newData
 public void newData(String type,
                     String className,
                     String title)
Loads the requested class into the visualizer (if it's a URL, also loads in dependency classes) creating an instance of the class that the visualizer will use.

 o init
 public void init(String title)
 o newAnimation
 public void newAnimation()
 o cancel
 public void cancel()

All Packages  Class Hierarchy  This Package  Previous  Next  Index