public abstract class TreeNodeAdapter extends java.lang.Object implements TreeNode
Constructor and Description |
---|
TreeNodeAdapter() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
childrenInfoString()
Sub-classes should override this method to return the result of
toString on each child, separated by new lines.
|
int |
getNodeDataType(MboRemote mbo)
Helper method gets the datatype from attribute nodes when needed.
|
protected abstract java.lang.String |
parentInfoString()
Sub-classes should override this method to create a string which
provides information for the parent node only.
|
java.lang.String |
toString()
Return a pretty-printed string representation of this node.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBoolean, getDate, getDouble, getInt, getNodeDataType, getString, setOperands
public java.lang.String toString()
protected abstract java.lang.String parentInfoString()
protected abstract java.lang.String childrenInfoString()
Note there is no new line character after the last child.
public int getNodeDataType(MboRemote mbo) throws MXException, java.rmi.RemoteException
getNodeDataType
in interface TreeNode
MXException
java.rmi.RemoteException