org.jvnet.substance
Class SubstanceTreeUI.TreePathId

java.lang.Object
  extended by 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.
 
Constructor Summary
SubstanceTreeUI.TreePathId(javax.swing.tree.TreePath path)
          Creates a tree path ID.
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

protected javax.swing.tree.TreePath path
Tree path.

Constructor Detail

SubstanceTreeUI.TreePathId

public SubstanceTreeUI.TreePathId(javax.swing.tree.TreePath path)
Creates a tree path ID.

Parameters:
path - Tree path.
Method Detail

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