org.jvnet.substance
Class SubstanceTreeUI.TreePathId
java.lang.Object
org.jvnet.substance.SubstanceTreeUI.TreePathId
- All Implemented Interfaces:
- java.lang.Comparable
- Enclosing class:
- SubstanceTreeUI
protected static class SubstanceTreeUI.TreePathId
- extends java.lang.Object
- implements java.lang.Comparable
ID of a single tree path.
- Author:
- Kirill Grouchnikov
Field Summary |
protected javax.swing.tree.TreePath |
path
Tree path. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
path
protected javax.swing.tree.TreePath path
- Tree path.
SubstanceTreeUI.TreePathId
public SubstanceTreeUI.TreePathId(javax.swing.tree.TreePath path)
- Creates a tree path ID.
- Parameters:
path
- Tree path.
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object