RoboJDETM v2.0

com.ridgesoft.robotics
Interface DirectionListener

All Known Implementing Classes:
AnalogShaftEncoder

public interface DirectionListener

Generic listener interface to listen for changes in direction.


Method Summary
 void updateDirection(boolean isForward)
          Listener method invoked to report direction updates.
 

Method Detail

updateDirection

void updateDirection(boolean isForward)
Listener method invoked to report direction updates.

Implementing classes must call this method every time the direction changes but are not restricted from calling it more often.

Parameters:
isForward - true if the direction is forward, false if it is reverse

RoboJDETM v2.0

Copyright (c) 2003-2009 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com