Class RowColLocation
- java.lang.Object
-
- docking.widgets.fieldpanel.support.RowColLocation
-
- Direct Known Subclasses:
DefaultRowColLocation
public class RowColLocation extends java.lang.Object
Simple class to return a row, column location.
-
-
Constructor Summary
Constructors Constructor Description RowColLocation(int row, int col)
Constructs a new RowColLocation with the given row and column.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
col()
boolean
equals(java.lang.Object object)
int
hashCode()
int
row()
java.lang.String
toString()
RowColLocation
withCol(int newColumn)
RowColLocation
withRow(int newRow)
-
-
-
Method Detail
-
row
public int row()
-
col
public int col()
-
withCol
public RowColLocation withCol(int newColumn)
-
withRow
public RowColLocation withRow(int newRow)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
-