public class NodeUIImpl extends NodeUI
NodeUI that is used if no
other implementation is supplied.| Modifier | Constructor and Description |
|---|---|
protected |
NodeUIImpl()
Constructor which is used as standard to create a new
NodeUIImpl
object. |
|
NodeUIImpl(java.lang.String s)
A constructor which takes a
String that should be in the
format of that returned by the getImplStringForm() method. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkEqual(NodeUI other)
Compares another
NodeUI with this NodeUIImpl. |
protected java.lang.String |
getComparisonString()
Returns a
String that can be used by the superclass to compare
two NodeUI objects. |
java.lang.String |
getImplStringForm()
Returns a
String object that can be used with the constructor
that takes a String parameter. |
int |
hashCode()
Returns a hash code for this object.
|
compareTo, createFromStringForm, equalsprotected NodeUIImpl()
NodeUIImpl
object.public NodeUIImpl(java.lang.String s)
String that should be in the
format of that returned by the getImplStringForm() method.s - a String used to construct the NodeUIImpl object.public java.lang.String getImplStringForm()
String object that can be used with the constructor
that takes a String parameter.getImplStringForm in class NodeUIString that holds this object in "string form".public final boolean checkEqual(NodeUI other)
NodeUI with this NodeUIImpl.checkEqual in class NodeUIother - another NodeUI to compare with this object.true iff the NodeUI supplied is a NodeUIImpl object that contains
the same internal unique identifier as this object.protected java.lang.String getComparisonString()
String that can be used by the superclass to compare
two NodeUI objects.getComparisonString in class NodeUIString that follows the rules stated for this method in the
NodeUI class.Copyright © 1996–2019. All rights reserved.