public static class SubstanceTableUI.TableCellId extends java.lang.Object implements SubstanceTableUI.TableId
| Modifier and Type | Field and Description |
|---|---|
protected int |
column
Cell column.
|
protected boolean |
isExactComparison
Indicates whether the comparison (
equals(Object)) should
return false when it is passed either
SubstanceTableUI.TableColumnId or SubstanceTableUI.TableRowId. |
protected int |
row
Cell row.
|
| Constructor and Description |
|---|
SubstanceTableUI.TableCellId(int row,
int column)
Creates a new cell ID.
|
| Modifier and Type | Method and Description |
|---|---|
SubstanceTableUI.TableId |
cloneId() |
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
setExactComparison(boolean isExactComparison)
Sets the comparison flag.
|
java.lang.String |
toString() |
protected int row
protected int column
protected boolean isExactComparison
equals(Object)) should
return false when it is passed either
SubstanceTableUI.TableColumnId or SubstanceTableUI.TableRowId.public SubstanceTableUI.TableCellId(int row,
int column)
row - Cell row.column - Cell column.public void setExactComparison(boolean isExactComparison)
isExactComparison - If true, the (equals(Object)) will
return false when it is passed either
SubstanceTableUI.TableColumnId or SubstanceTableUI.TableRowId.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic SubstanceTableUI.TableId cloneId()
cloneId in interface SubstanceTableUI.TableId