org.pushingpixels.substance.internal.ui
Class SubstanceTableUI.TableCellId
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
row
protected int row
- Cell row.
column
protected int column
- Cell column.
SubstanceTableUI.TableCellId
public SubstanceTableUI.TableCellId(int row,
int column)
- Creates a new cell ID.
- Parameters:
row
- Cell row.column
- Cell column.
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