protected static class Browse.SelectedRow
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
rowAvailable
Row availability.
|
private int |
rowIndex
Row index.
|
| Constructor and Description |
|---|
SelectedRow(int rowIndex)
Creates a new selected row which is available.
|
SelectedRow(int rowIndex,
boolean rowAvailable)
Creates a new selected row.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares two objects for equality.
|
int |
getRowIndex()
Get row index.
|
int |
hashCode()
Return a hash code for the instance.
|
boolean |
isRowAvailable()
Get row availability.
|
private final int rowIndex
private final boolean rowAvailable
public SelectedRow(int rowIndex)
rowIndex - Row index.public SelectedRow(int rowIndex,
boolean rowAvailable)
rowIndex - Row index.rowAvailable - Row availability.public int getRowIndex()
public boolean isRowAvailable()
true if the row is available (i.e. if it could be fetched) at the
moment of selection.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Object to compare with.true if instances are equal and false otherwise.