Package de.hsh.graja.util.comment.grid
Class GridCellDim
- java.lang.Object
-
- de.hsh.graja.util.comment.grid.GridCellDim
-
- All Implemented Interfaces:
Serializable
public class GridCellDim extends Object implements Serializable
This class stores aGridCell
's width and height.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridCellDim(int rows, int cols)
Create
-
-
-
Method Detail
-
toString
public String toString()
-
getRows
public int getRows()
- Returns:
- height
-
getCols
public int getCols()
- Returns:
- width
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classObject
- See Also:
Object.equals(Object)
-
-