org.robokind.api.motion.servos.utils
Class EmptyServoJoint

java.lang.Object
  extended by org.robokind.api.common.property.PropertyChangeNotifier
      extended by org.robokind.api.motion.AbstractJoint
          extended by org.robokind.api.motion.servos.ServoJoint
              extended by org.robokind.api.motion.servos.utils.EmptyServoJoint
All Implemented Interfaces:
PropertyChangeListener, EventListener, org.robokind.api.common.property.PropertyChangeSource, Joint

public class EmptyServoJoint
extends ServoJoint

An Empty implementation of a ServoJoint, used for missing Servos.

Author:
Matthew Stevenson

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.robokind.api.motion.Joint
Joint.Id
 
Field Summary
 
Fields inherited from class org.robokind.api.motion.servos.ServoJoint
myServo
 
Fields inherited from class org.robokind.api.motion.AbstractJoint
myProperties
 
Fields inherited from interface org.robokind.api.motion.Joint
PROP_ENABLED, PROP_GOAL_POSITION
 
Constructor Summary
EmptyServoJoint(Joint.Id jointId, String name, org.robokind.api.common.position.NormalizedDouble defPos)
           
EmptyServoJoint(Joint.Id jointId, String name, org.robokind.api.common.position.NormalizedDouble defPos, int min, int max)
          Creates a new EmptyServoJoint with the given properties.
 
Method Summary
 
Methods inherited from class org.robokind.api.motion.servos.ServoJoint
getDefaultPosition, getEnabled, getGoalPosition, getName, getPositionRange, getServo, setEnabled, setGoalPosition
 
Methods inherited from class org.robokind.api.motion.AbstractJoint
addProperty, getId, getProperties, getProperty, getProperty, propertyChange, removeProperty
 
Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, clearAllListeners, clearListeners, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.robokind.api.common.property.PropertyChangeSource
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

EmptyServoJoint

public EmptyServoJoint(Joint.Id jointId,
                       String name,
                       org.robokind.api.common.position.NormalizedDouble defPos,
                       int min,
                       int max)
Creates a new EmptyServoJoint with the given properties.

Parameters:
jointId - Joint.Id of the Joint
name - name of the Joint
defPos - default position of the Joint

EmptyServoJoint

public EmptyServoJoint(Joint.Id jointId,
                       String name,
                       org.robokind.api.common.position.NormalizedDouble defPos)


Copyright © 2011-2013. All Rights Reserved.