lejos.robotics.mapping
Interface MapApplicationUI

All Known Implementing Classes:
NavigationPanel, NXJMapCommand

public interface MapApplicationUI


Method Summary
 void error(java.lang.String message)
          Display an error message
 void eventReceived(NavigationModel.NavEvent navEvent)
          Signal that an event has been received (normally from the NXT).
 void fatal(java.lang.String message)
          Fatal error which stops the application
 void log(java.lang.String message)
          Log a progress message
 void repaint()
          Indicates that model data has changed that requires a repaint of the map panel
 void whenConnected()
          Signal that the NXT is now connected
 

Method Detail

log

void log(java.lang.String message)
Log a progress message

Parameters:
message - the message

error

void error(java.lang.String message)
Display an error message

Parameters:
message - the message

fatal

void fatal(java.lang.String message)
Fatal error which stops the application

Parameters:
message - the message

repaint

void repaint()
Indicates that model data has changed that requires a repaint of the map panel


eventReceived

void eventReceived(NavigationModel.NavEvent navEvent)
Signal that an event has been received (normally from the NXT).

Parameters:
navEvent - the navigation event

whenConnected

void whenConnected()
Signal that the NXT is now connected