pnuts.tools
Class PnutsConsoleUI
java.lang.Object
pnuts.tools.JTextComponentConsoleUI
pnuts.tools.PnutsConsoleUI
- All Implemented Interfaces:
- ConsoleUI
public class PnutsConsoleUI
- extends JTextComponentConsoleUI
Swing based UI
Methods inherited from class pnuts.tools.JTextComponentConsoleUI |
append, createTextComponent, getJTextComponent, getLength, getMarkPosition, getModel, insert, setCursorPosition, setJTextComponent, setMarkPosition, setModel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PnutsConsoleUI
public PnutsConsoleUI()
PnutsConsoleUI
public PnutsConsoleUI(Console console)
createConsole
public PnutsConsole createConsole(Context context,
java.lang.String inputlog)
createConsole
protected PnutsConsole createConsole()
createConsole
public PnutsConsole createConsole(java.lang.String[] modules,
Context context,
java.lang.ClassLoader cl,
java.lang.String inputlog,
boolean greeting,
java.lang.Runnable terminationCallback,
int priority)
entered
public void entered(java.lang.String command)
- Overrides:
entered
in class JTextComponentConsoleUI
getTextArea
public javax.swing.JTextArea getTextArea()
getComponent
public javax.swing.JComponent getComponent()
setTitle
public void setTitle(java.lang.String title)
getTitle
public java.lang.String getTitle()
getFrame
public javax.swing.JFrame getFrame()
close
public void close()
- Specified by:
close
in interface ConsoleUI
- Overrides:
close
in class JTextComponentConsoleUI