org.jvnet.substance
Class SubstanceTableUI.TableRowId

java.lang.Object
  extended by org.jvnet.substance.SubstanceTableUI.TableRowId
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
SubstanceTableUI

protected static class SubstanceTableUI.TableRowId
extends java.lang.Object
implements java.lang.Comparable

ID of a single table row.

Author:
Kirill Grouchnikov

Field Summary
protected  int row
          Row.
 
Constructor Summary
SubstanceTableUI.TableRowId(int row)
          Creates a new row 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

row

protected int row
Row.

Constructor Detail

SubstanceTableUI.TableRowId

public SubstanceTableUI.TableRowId(int row)
Creates a new row ID.

Parameters:
row - Row.
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