org.ros.android.view
Class PanTiltView
java.lang.Object
RelativeLayout
org.ros.android.view.PanTiltView
- All Implemented Interfaces:
- org.ros.node.NodeListener, org.ros.node.NodeMain
public class PanTiltView
- extends RelativeLayout
- implements org.ros.node.NodeMain
PanTiltZoomView creates a rosjava view that can be used to control a pan tilt
device.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PanTiltView
public PanTiltView(Context context)
PanTiltView
public PanTiltView(Context context,
AttributeSet attrs)
PanTiltView
public PanTiltView(Context context,
AttributeSet attrs,
int defStyle)
onTouch
public boolean onTouch(View v,
MotionEvent event)
getDefaultNodeName
public org.ros.namespace.GraphName getDefaultNodeName()
- Specified by:
getDefaultNodeName
in interface org.ros.node.NodeMain
onStart
public void onStart(org.ros.node.ConnectedNode connectedNode)
- Specified by:
onStart
in interface org.ros.node.NodeListener
onShutdown
public void onShutdown(org.ros.node.Node node)
- Specified by:
onShutdown
in interface org.ros.node.NodeListener
onShutdownComplete
public void onShutdownComplete(org.ros.node.Node node)
- Specified by:
onShutdownComplete
in interface org.ros.node.NodeListener
onError
public void onError(org.ros.node.Node node,
java.lang.Throwable throwable)
- Specified by:
onError
in interface org.ros.node.NodeListener