public class InterpreterPane extends Object implements UIComponent<JComponent>
| Constructor and Description |
|---|
InterpreterPane(Context context)
Constructs an interpreter UI pane for a SciJava scripting REPL.
|
InterpreterPane(Context context,
String languagePreference)
Constructs an interpreter UI pane for a SciJava scripting REPL, with a
given language preference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
JComponent |
getComponent() |
Class<JComponent> |
getComponentType() |
ScriptREPL |
getREPL()
Gets the associated script REPL.
|
void |
print(String string)
Prints a message to the output panel.
|
public InterpreterPane(Context context)
context - The SciJava application context to use.public InterpreterPane(Context context, String languagePreference)
context - The SciJava application context to use.languagePreference - The given language to use, or null to fall back
to the default.public ScriptREPL getREPL()
public void print(String string)
public void dispose()
public JComponent getComponent()
getComponent in interface UIComponent<JComponent>public Class<JComponent> getComponentType()
getComponentType in interface UIComponent<JComponent>Copyright © 2009–2023 SciJava. All rights reserved.