All Packages Class Hierarchy This Package Previous Next Index
Class jdsltools.visualization.jdslviz
java.lang.Object
|
+----jdsltools.visualization.jdslviz
- public class jdslviz
- 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.
-
CLASS
-
-
DEFAULT
-
-
displayableInstance
-
-
firsttime
-
-
TYPES
-
-
jdslviz(String)
- Used for the creation of the visualizer by class instantiation
with an option flag
-
jdslviz(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.
-
newData(String, String, String, boolean)
-
-
setTypes(Choice)
-
TYPES
public static final String TYPES[]
CLASS
public static String CLASS[]
DEFAULT
public static final int DEFAULT
firsttime
public boolean firsttime
displayableInstance
public static Container displayableInstance
jdslviz
public jdslviz(String option)
- Used for the creation of the visualizer by class instantiation
with an option flag
jdslviz
public jdslviz(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,
boolean smallscreen)
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