org.jvnet.substance
Class SubstanceTableUI.TableRowId

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

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

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
 SubstanceTableUI.TableId cloneId()
           
 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

cloneId

public SubstanceTableUI.TableId cloneId()
Specified by:
cloneId in interface SubstanceTableUI.TableId