org.ros.android.view
Class PanTiltView

java.lang.Object
  extended by RelativeLayout
      extended by 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.


Constructor Summary
PanTiltView(Context context)
           
PanTiltView(Context context, AttributeSet attrs)
           
PanTiltView(Context context, AttributeSet attrs, int defStyle)
           
 
Method Summary
 org.ros.namespace.GraphName getDefaultNodeName()
           
 void onError(org.ros.node.Node node, java.lang.Throwable throwable)
           
 void onShutdown(org.ros.node.Node node)
           
 void onShutdownComplete(org.ros.node.Node node)
           
 void onStart(org.ros.node.ConnectedNode connectedNode)
           
 boolean onTouch(View v, MotionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanTiltView

public PanTiltView(Context context)

PanTiltView

public PanTiltView(Context context,
                   AttributeSet attrs)

PanTiltView

public PanTiltView(Context context,
                   AttributeSet attrs,
                   int defStyle)
Method Detail

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