edu.mit.ai.psg.jexa
Class Jexa

java.lang.Object
  |
  +--edu.mit.ai.psg.ui.outliner.Outliner
        |
        +--edu.mit.ai.psg.jexa.Jexa
Direct Known Subclasses:
TravelerOutliner

public class Jexa
extends Outliner

Jexa: a Java examiner to examine objects via expandable/collapsible outlines.

Jexa may need to 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.examine(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 -- see edu.mit.ai.psg.jevaESUI.

See Also:
edu.mit.ai.psg.jexa, Outliner, edu.mit.ai.psg.jevaESUI

Inner Class Summary
static class Jexa.JexaOutlineMaker
           
 
Field Summary
static int dbgLev
          For debugging OutlineNodes and OutlineRenderers: if dbgLev > 0, adds "Set Jexa.mousedObject = [outlineNode]" and "Set Jexa.mousedObject = [jTree]" to popup menus
protected static String jexaResourceName
           
static Object mousedObject
          mousedObject: Public variable which can be set via menu while browsing
 
Fields inherited from class edu.mit.ai.psg.ui.outliner.Outliner
outlineMaker, outlinerResourceName
 
Constructor Summary
Jexa()
           
 
Method Summary
static void ensureInitialized()
          if necessary, initializes static Outliner.outlineMaker.
static Object examine(Object obj)
          Convenience method: Starts an outline frame, but returns obj.
protected static String formatWithJexaBundleString(String resourceKey, Object obj)
           
static String getCopyright()
           
static String getHomepage()
           
protected static String getJexaBundleString(String resourceKey)
           
static String getNoWarranty()
           
static String getVersion()
           
 
Methods inherited from class edu.mit.ai.psg.ui.outliner.Outliner
addRenderer, getAllRenderers, getMostSpecificRenderer, getNoteRenderer, getOutlinerBundleString, makeFrame, makeFrame, makeOutlineNode, makeOutlineNode, outline, removeRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mousedObject

public static Object mousedObject
mousedObject: Public variable which can be set via menu while browsing

dbgLev

public static int dbgLev
For debugging OutlineNodes and OutlineRenderers: if dbgLev > 0, adds "Set Jexa.mousedObject = [outlineNode]" and "Set Jexa.mousedObject = [jTree]" to popup menus

jexaResourceName

protected static final String jexaResourceName
Constructor Detail

Jexa

public Jexa()
Method Detail

getCopyright

public static String getCopyright()

getNoWarranty

public static String getNoWarranty()

getVersion

public static String getVersion()

getHomepage

public static String getHomepage()

examine

public static Object examine(Object obj)
Convenience method: Starts an outline frame, but returns obj.
See Also:
Outliner.outline(java.lang.Object)

ensureInitialized

public static void ensureInitialized()
if necessary, initializes static Outliner.outlineMaker.
See Also:
Outliner

getJexaBundleString

protected static String getJexaBundleString(String resourceKey)

formatWithJexaBundleString

protected static String formatWithJexaBundleString(String resourceKey,
                                                   Object obj)

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu