Class Main.IProxy
java.lang.Object
org.mozilla.javascript.tools.shell.Main.IProxy
- All Implemented Interfaces:
ContextAction<Object>
,QuitAction
- Enclosing class:
Main
Proxy class to avoid proliferation of anonymous classes.
-
Field Details
-
Constructor Details
-
IProxy
IProxy(int type)
-
-
Method Details
-
run
Description copied from interface:ContextAction
Execute action using the supplied Context instance. When Rhino runtime calls the method,cx
will be associated with the current thread as active context.- Specified by:
run
in interfaceContextAction<Object>
- See Also:
-
quit
- Specified by:
quit
in interfaceQuitAction
-