public class RosTextView<T>
extends TextView
implements org.ros.node.NodeMain
Constructor and Description |
---|
RosTextView(Context context) |
RosTextView(Context context,
AttributeSet attrs) |
RosTextView(Context context,
AttributeSet attrs,
int defStyle) |
Modifier and Type | Method and Description |
---|---|
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) |
public RosTextView(Context context)
public RosTextView(Context context, AttributeSet attrs)
public RosTextView(Context context, AttributeSet attrs, int defStyle)
public void setTopicName(java.lang.String topicName)
public void setMessageType(java.lang.String messageType)
public void setMessageToStringCallable(MessageCallable<java.lang.String,T> callable)
public org.ros.namespace.GraphName getDefaultNodeName()
getDefaultNodeName
in interface org.ros.node.NodeMain
public void onStart(org.ros.node.ConnectedNode connectedNode)
onStart
in interface org.ros.node.NodeListener
public void onShutdown(org.ros.node.Node node)
onShutdown
in interface org.ros.node.NodeListener
public void onShutdownComplete(org.ros.node.Node node)
onShutdownComplete
in interface org.ros.node.NodeListener
public void onError(org.ros.node.Node node, java.lang.Throwable throwable)
onError
in interface org.ros.node.NodeListener