hmi.util
Interface Console.ConsoleListener

Enclosing class:
Console

public static interface Console.ConsoleListener

Listener interface for Console actions, like print.


Method Summary
 void print(String s)
          method for closing the TextBox public void close(); /** sets the size and location of the console window.
 void println()
          appends a newline to the text in the Console window.
 void println(String s)
          appends s to the text in the Console window.
 

Method Detail

print

void print(String s)
method for closing the TextBox public void close(); /** sets the size and location of the console window. public void setBounds(int x, int y, int w, int h); /** sets the location of the console window. public void setLocation(int x, int y); /** sets the size of the console window. public void setSize(int w, int h); /** sets the title of the console window. public void setTitle(String s); /** determines whether the Console window is visible or not. When visible is true, a new console window is opened if necessary. When visible is false, the console window is made invisible, if such a console window is present; no new console will be opened. public void setVisible(boolean visible); /** clears the Console window. Ignored when the Console is disabled. public void clear(); /** appends s to the text in the Console window. A newline character is not automatically added. This method is identical to append(); it has been added so that "System.out.print()" calls can be replaced easily by "parlevink.util.Console.print()" calls. Ignored when the Console is disabled.


println

void println(String s)
appends s to the text in the Console window. A newline character is automatically added. This method is identical to appendln(); it has been added so that "System.out.println()" calls can be replaced easily by "parlevink.util.Console.println()" calls. Ignored when the Console is disabled.


println

void println()
appends a newline to the text in the Console window. Ignored when the Console is disabled.