lejos.pc.tools
Class Console

java.lang.Object
  extended by lejos.pc.tools.Console
All Implemented Interfaces:
ConsoleViewerUI

public class Console
extends Object
implements ConsoleViewerUI

Console output monitor class. This class provides access to console output from a NXT program. The program simply writes strings using the NXT RConsole class. These are sent to the PC via the USB (or Bluetooth) connection.

Rating red

Constructor Summary
Console()
           
 
Method Summary
 void append(String value)
           
 void connectedTo(String name, String address)
           
 void logMessage(String msg)
           
static void main(String[] args)
           
 void setStatus(String msg)
           
 void updateLCD(byte[] buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Console

public Console()
Method Detail

main

public static void main(String[] args)

append

public void append(String value)
Specified by:
append in interface ConsoleViewerUI

updateLCD

public void updateLCD(byte[] buffer)
Specified by:
updateLCD in interface ConsoleViewerUI

connectedTo

public void connectedTo(String name,
                        String address)
Specified by:
connectedTo in interface ConsoleViewerUI

logMessage

public void logMessage(String msg)
Specified by:
logMessage in interface ConsoleViewerUI

setStatus

public void setStatus(String msg)
Specified by:
setStatus in interface ConsoleViewerUI