|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rice.cs.drjava.DrJavaRoot
public class DrJavaRoot
Main class for DrJava.
Field Summary | |
---|---|
static int |
ADVANCED_LEVEL
|
static int |
ELEMENTARY_LEVEL
|
static int |
FULL_JAVA
|
static int |
INTERMEDIATE_LEVEL
|
static String[] |
LANGUAGE_LEVEL_EXTENSIONS
|
static String |
PLASTIC_THEMES_PACKAGE
|
static String |
TEST_DEBUGGER_CLASS
Class to probe to see if the debugger is available |
Constructor Summary | |
---|---|
DrJavaRoot()
|
Method Summary | |
---|---|
static PrintStream |
consoleErr()
Get the actual System.err stream. |
static PrintStream |
consoleOut()
Get the actual System.out stream. |
static void |
dragEnter(DropTargetDragEvent dropTargetDragEvent)
User dragged something into the component. |
static void |
drop(DropTargetDropEvent dropTargetDropEvent)
User dropped something on the component. |
static void |
installModalWindowAdapter(Window w,
Runnable1<? super WindowEvent> toFrontAction,
Runnable1<? super WindowEvent> closeAction)
Installs the modal window adapter if available, otherwise installs a non-modal dummy listener. |
static void |
main(String[] args)
|
static void |
removeModalWindowAdapter(Window w)
Removes the modal window adapter. |
static void |
showDrJavaDebugConsole(MainFrame mf)
Shows a separate interactions window with a reference to DrJava's MainFrame defined as "mainFrame". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FULL_JAVA
public static final int ELEMENTARY_LEVEL
public static final int INTERMEDIATE_LEVEL
public static final int ADVANCED_LEVEL
public static final String[] LANGUAGE_LEVEL_EXTENSIONS
public static final String TEST_DEBUGGER_CLASS
public static final String PLASTIC_THEMES_PACKAGE
Constructor Detail |
---|
public DrJavaRoot()
Method Detail |
---|
public static void main(String[] args)
public static void showDrJavaDebugConsole(MainFrame mf)
mf
- MainFrame to define in the new windowpublic static PrintStream consoleErr()
public static PrintStream consoleOut()
public static void dragEnter(DropTargetDragEvent dropTargetDragEvent)
public static void drop(DropTargetDropEvent dropTargetDropEvent)
public static void installModalWindowAdapter(Window w, Runnable1<? super WindowEvent> toFrontAction, Runnable1<? super WindowEvent> closeAction)
w
- window trying to get the modal window listenertoFrontAction
- action to be performed after the window has been moved to the front againcloseAction
- action to be performed when the window is closingpublic static void removeModalWindowAdapter(Window w)
w
- window releasing the modal window adapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |