public static class SubstanceTableUI.TableCellId extends java.lang.Object implements java.lang.Comparable<SubstanceTableUI.TableCellId>
Modifier and Type | Field and Description |
---|---|
protected int |
column
Cell column.
|
protected int |
row
Cell row.
|
Constructor and Description |
---|
TableCellId(int row,
int column)
Creates a new cell ID.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SubstanceTableUI.TableCellId o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public TableCellId(int row, int column)
row
- Cell row.column
- Cell column.public int compareTo(SubstanceTableUI.TableCellId o)
compareTo
in interface java.lang.Comparable<SubstanceTableUI.TableCellId>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object