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
-
CLASS
-
-
DEFAULT
-
-
displayableInstance
-
-
TYPES
-
-
cs16Viz(String)
- Used for the creation of the visualizer by class instantiation
with an option flag
-
cs16Viz(String[])
- Used for instantiation of the visualizer from the commandline
-
cancel()
-
-
init(String)
-
-
main(String[])
-
-
newAnimation()
-
-
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.
-
setTypes(Choice)
-
TYPES
public static final String TYPES[]
CLASS
public static String CLASS[]
DEFAULT
public static final int DEFAULT
displayableInstance
public static Container displayableInstance
cs16Viz
public cs16Viz(String option)
- Used for the creation of the visualizer by class instantiation
with an option flag
cs16Viz
public cs16Viz(String args[])
- Used for instantiation of the visualizer from the commandline
main
public static void main(String args[])
setTypes
public void setTypes(Choice items)
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.
init
public void init(String title)
newAnimation
public void newAnimation()
cancel
public void cancel()
All Packages Class Hierarchy This Package Previous Next Index