Class Table.Merge
java.lang.Object
com.codename1.wordprocessing.Table.Merge
- Enclosing class:
Table
A rectangular range of cells shown as one, anchored at its top-left cell.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
row
public final int rowThe anchor row. -
column
public final int columnThe anchor column. -
rows
public final int rowsThe number of rows spanned, at least one. -
columns
public final int columnsThe number of columns spanned, at least one.
-
-
Constructor Details
-
Merge
public Merge(int row, int column, int rows, int columns) Creates a merge.
Parameters
-
row: the anchor row -
column: the anchor column -
rows: rows spanned -
columns: columns spanned
-
-
-
Method Details
-
contains
public boolean contains(int r, int c) Whether the range contains a cell.
Parameters
-
r: the row -
c: the column
Returns
true when inside
-
-
equals
-
hashCode
-