|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.table.IlpCellCoordinates
public class IlpCellCoordinates
This class is used to represent the coordinates (row/column) of a cell in
an IlpTable.
| Constructor Summary | |
|---|---|
IlpCellCoordinates()
Creates cell coordinates with default value -1 for row and column. |
|
IlpCellCoordinates(int rowIndex,
int columnIndex)
Creates cell coordinates with the given values for the row and the column. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object anObject)
Compares the coordinates of this object with the specified object. |
int |
getColumnIndex()
Returns the column index of the cell coordinates. |
int |
getRowIndex()
Returns the row index of the cell coordinates. |
String |
toString()
Returns a string representation of this cell's coordinates. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlpCellCoordinates()
-1 for row and column.
public IlpCellCoordinates(int rowIndex,
int columnIndex)
rowIndex - The row index of the cell coordinates.columnIndex - The column index of the cell coordinates.| Method Detail |
|---|
public int getRowIndex()
public int getColumnIndex()
public boolean equals(Object anObject)
true if the argument is not null and is an
IlpCellCoordinates object with the same values (row and column index)
as this object.
equals in class ObjectanObject - The object to be compared with this IlpCellCoordinates
object.
true if the IlpCellCoordinates objects are equal,
false otherwise.public String toString()
new IlpTable.CellCoordinates(3, 4).toString(); returns
the string (3,4).
toString in class Object
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||