de.jaetzold.util
Interface CommandLine

All Known Implementing Classes:
TextOutput

public interface CommandLine

A CommandLine provides the ability to inform a CommandLineListener when a new line of input is ready. It also can prompt for a new commandline, normally that's what a user sees just left of where he types.


Method Summary
 void addCommandLineListener(CommandLineListener l)
           
 String getPrompt()
           
 void setPrompt(String str)
           
 

Method Detail

addCommandLineListener

public void addCommandLineListener(CommandLineListener l)

setPrompt

public void setPrompt(String str)

getPrompt

public String getPrompt()