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
|
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 |
|
Constructor Summary |
Jexa()
|
| 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 |
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
Jexa
public Jexa()
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)