org.ros.android.view
Class RosTextView<T>

java.lang.Object
  extended by TextView
      extended by org.ros.android.view.RosTextView<T>
All Implemented Interfaces:
org.ros.node.NodeListener, org.ros.node.NodeMain

public class RosTextView<T>
extends TextView
implements org.ros.node.NodeMain


Constructor Summary
RosTextView(Context context)
           
RosTextView(Context context, AttributeSet attrs)
           
RosTextView(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)
           
 void setMessageToStringCallable(MessageCallable<java.lang.String,T> callable)
           
 void setMessageType(java.lang.String messageType)
           
 void setTopicName(java.lang.String topicName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RosTextView

public RosTextView(Context context)

RosTextView

public RosTextView(Context context,
                   AttributeSet attrs)

RosTextView

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

setTopicName

public void setTopicName(java.lang.String topicName)

setMessageType

public void setMessageType(java.lang.String messageType)

setMessageToStringCallable

public void setMessageToStringCallable(MessageCallable<java.lang.String,T> callable)

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