bsh.util

Interface GUIConsoleInterface

All Superinterfaces:
ConsoleInterface
Known Implementing Classes:
JConsole

public interface GUIConsoleInterface
extends ConsoleInterface

Additional capabilities of an interactive console for BeanShell. Althought this is called "GUIConsoleInterface" it might just as well be used by a more sophisticated text-only command line.

Note: we may want to express the command line history, editing, and cut & paste functionality here as well at some point.

Method Summary

void
print(String s, Color color)
void
setNameCompletion(NameCompletion nc)
void
setWaitFeedback(boolean on)
e.g.

Methods inherited from interface bsh.ConsoleInterface

error, getErr, getIn, getOut, print, println

Method Details

print

public void print(String s,
                  Color color)


setNameCompletion

public void setNameCompletion(NameCompletion nc)


setWaitFeedback

public void setWaitFeedback(boolean on)
e.g. the wait cursor


B) 2000 pat@pat.net :-)