org.robokind.api.motion.utils
Class RobotController
java.lang.Object
org.robokind.api.common.property.PropertyChangeNotifier
org.robokind.api.motion.utils.RobotController
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, PropertyChangeSource
public class RobotController
- extends PropertyChangeNotifier
- implements PropertyChangeListener
Controls a Robot for the UI
- Author:
- Matthew Stevenson
| Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_ROBOT
public static final String PROP_ROBOT
- See Also:
- Constant Field Values
PROP_SELECT_ROBOT
public static final String PROP_SELECT_ROBOT
- See Also:
- Constant Field Values
RobotController
public RobotController(org.osgi.framework.BundleContext context,
RobotManager manager)
setRobotId
public void setRobotId(Robot.Id robotId)
getRobot
public Robot getRobot()
connectRobot
public boolean connectRobot()
disconnectRobot
public boolean disconnectRobot()
enableRobot
public boolean enableRobot()
disableRobot
public boolean disableRobot()
selectRobot
public boolean selectRobot()
setDefaultPositions
public boolean setDefaultPositions()
removeRobot
public boolean removeRobot()
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange in interface PropertyChangeListener
Copyright © 2011-2012. All Rights Reserved.