org.robokind.api.motion.jointgroup
Class RobotJointGroup
java.lang.Object
org.robokind.api.common.property.PropertyChangeNotifier
org.robokind.api.motion.jointgroup.AbstractJointGroup<Robot.JointId,RobotJointGroup,Joint>
org.robokind.api.motion.jointgroup.RobotJointGroup
- All Implemented Interfaces:
- PropertyChangeSource, JointGroup<Robot.JointId,RobotJointGroup,Joint>
public class RobotJointGroup
- extends AbstractJointGroup<Robot.JointId,RobotJointGroup,Joint>
- Author:
- Matthew Stevenson
| Methods inherited from class org.robokind.api.motion.jointgroup.AbstractJointGroup |
addGroup, addJointId, getEnabled, getGroupCount, getJoint, getJointCount, getJointGroup, getJointGroups, getJointId, getJointIds, getJoints, getName, insertGroup, insertJointId, removeGroup, removeGroupAt, removeJointId, removeJointIdAt, setEnabled, setName, toString |
| 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 |
CONFIG_TYPE
public static final String CONFIG_TYPE
- Service version name.
- See Also:
- Constant Field Values
CONFIG_VERSION
public static final String CONFIG_VERSION
- Service version number.
- See Also:
- Constant Field Values
VERSION
public static final VersionProperty VERSION
- Service VersionProperty.
RobotJointGroup
public RobotJointGroup(String name,
List<Robot.JointId> ids,
List<RobotJointGroup> groups)
- Parameters:
name - ids - groups -
setRobot
public void setRobot(Robot robot)
getRobot
public Robot getRobot()
getJointById
protected Joint getJointById(Robot.JointId jointId)
- Description copied from class:
AbstractJointGroup
- Retrieves a Joint with the given jointId.
- Specified by:
getJointById in class AbstractJointGroup<Robot.JointId,RobotJointGroup,Joint>
- Parameters:
jointId - id of the joint to retrieve
- Returns:
- Joint with the given jointId, null if no Joint is found
Copyright © 2011-2013. All Rights Reserved.