All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----edu.mit.ai.psg.ui.outlines.Outliner
|
+----edu.mit.ai.psg.jexa.Jexa
Jexa must be initialized before use. Call Jexa.initialize(); (static initializers aren't always invoked as of Java 1.1.6.)
Standard call to start Jexa is Jexa.makeOutlineFrame(Object);
Outline elements may be expanded/collapsed by clicking on the -/+ button, or double clicking on the object.
Popup menu on object allows Jexa.mousedObject to be set to the object, so user may navigate through object, then call methods using the object (e.g., using a source code interpreter such as JevaES --- see edu.mit.ai.psg.jevaESUI.JevaESUI).
Outline created depends on class of object examined. Default outline is based on properties found by java.beans.Introspector (or elements of arrays). There are special outline generators for java.util.Dictionary (shows key/element pairs of Dictionary) and java.lang.Class (shows just static variables of Class). (An alternate default generator, ObjectOutline, just uses java.lang.reflect fields rather than bean introspection.) Popup menu allows user to recompute outline using an alternate outline generator.
See edu.mit.ai.psg.ui.outlines.Outliner for more on how to extend the outliner with new kinds of outline generators.
public static boolean isInitialized
public static Object mousedObject
public Jexa()
public static Frame makeOutlineFrame(Object obj)
public static Component makeOutlineComponent(Object obj)
public static void initialize()
public void addPopupMenuItems(PopupMenu menu,
Object obj,
Component component)
All Packages Class Hierarchy This Package Previous Next Index