de.jaret.util.ui.console
Interface ConsoleListener


public interface ConsoleListener

Listener for listening to entered lines in a ConsoleControl.

Author:
Peter Kliem

Method Summary
 String lineEntered(ConsoleControl consoleControl, String line)
          Will be called whenever a line has been entered
 

Method Detail

lineEntered

String lineEntered(ConsoleControl consoleControl,
                   String line)
Will be called whenever a line has been entered

Parameters:
consoleControl - the calling ConsoleControl
line - the entered line
Returns:
a String or null acting as a result that will be displayed. If multiple listeners return messages these will be concatenated.


Copyright © 2013. All Rights Reserved.