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