public class CellPosition extends Object
The row and column indices may be model or view indices, depending on where this class is used.
A row index of -1 represents the table header.
| Constructor and Description |
|---|
CellPosition(int row,
int column)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getColumn()
Gets the column index of the cell.
|
int |
getRow()
Gets the row index of the cell.
|
int |
hashCode() |
String |
toString() |
public CellPosition(int row,
int column)
row - Row index (-1 for the table header).column - column index.public int getRow()
public int getColumn()
@Generated(value="intellij") public boolean equals(Object o)
@Generated(value="intellij") public int hashCode()
@Generated(value="intellij") public String toString()
Copyright © 2017. All rights reserved.