}
protected void notifyEncoderStarted() {
for (int i = 0; i < encoderListeners.size(); i++) {
((JagEncoderListener) encoderListeners.elementAt(i))
.rotationDidStart(new JagEncoderEvent(this,
EncoderEvent.DEFAULT, getState("Distance"),
(getState("Direction") == Sensor.TRUE)));
}
}