org.pushingpixels.substance.internal.ui
Class SubstanceTableUI.TableCellId

java.lang.Object
  extended by org.pushingpixels.substance.internal.ui.SubstanceTableUI.TableCellId
All Implemented Interfaces:
java.lang.Comparable<SubstanceTableUI.TableCellId>
Enclosing class:
SubstanceTableUI

public static class SubstanceTableUI.TableCellId
extends java.lang.Object
implements java.lang.Comparable<SubstanceTableUI.TableCellId>

ID of a single table cell.


Field Summary
protected  int column
          Cell column.
protected  int row
          Cell row.
 
Constructor Summary
SubstanceTableUI.TableCellId(int row, int column)
          Creates a new cell ID.
 
Method Summary
 int compareTo(SubstanceTableUI.TableCellId o)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

row

protected int row
Cell row.


column

protected int column
Cell column.

Constructor Detail

SubstanceTableUI.TableCellId

public SubstanceTableUI.TableCellId(int row,
                                    int column)
Creates a new cell ID.

Parameters:
row - Cell row.
column - Cell column.
Method Detail

compareTo

public int compareTo(SubstanceTableUI.TableCellId o)
Specified by:
compareTo in interface java.lang.Comparable<SubstanceTableUI.TableCellId>

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object