public class ExecutionTableGroup
extends java.lang.Object
ExecutionTable.addColumnGroup(ExecutionTableGroup)
or ExecutionTable.addItemGroup(ExecutionTableGroup)
.
start index + amount
and so on.Constructor and Description |
---|
ExecutionTableGroup(ExecutionTableBorder border,
int start)
Creates a new group with the amount of one object.
|
ExecutionTableGroup(ExecutionTableBorder border,
int start,
int amount)
Creates a new group.
|
ExecutionTableGroup(ExecutionTableBorder border,
int start,
int amount,
boolean repeatable)
Creates a new group.
|
Modifier and Type | Method and Description |
---|---|
int |
getAmount()
Gets the number of objects that the group should cover.
|
ExecutionTableBorder |
getBorder()
Gets the border of the group.
|
int |
getStart()
Gets the index at which the group should start.
|
boolean |
isRepeatable()
Indicates if the group should repeat itself after the amount of objects that the group covers.
|
public ExecutionTableGroup(ExecutionTableBorder border, int start) throws java.lang.IllegalArgumentException
border
- the border of the group (ensure that you create correct borders for vertical groups (e.g. columns) and horizontal groups (e.g. rows)start
- the index at which the group should start (e.g. related to the items (rows) or columns)java.lang.IllegalArgumentException
- < 0
public ExecutionTableGroup(ExecutionTableBorder border, int start, int amount) throws java.lang.IllegalArgumentException
border
- the border of the group (ensure that you create correct borders for vertical groups (e.g. columns) and horizontal groups (e.g. rows)start
- the index at which the group should start (e.g. related to the items (rows) or columns)amount
- the number of objects (e.g. items (rows) or columns) that the group should coverjava.lang.IllegalArgumentException
- < 0
< 1
public ExecutionTableGroup(ExecutionTableBorder border, int start, int amount, boolean repeatable) throws java.lang.IllegalArgumentException
border
- the border of the group (ensure that you create correct borders for vertical groups (e.g. columns) and horizontal groups (e.g. rows)start
- the index at which the group should start (e.g. related to the items (rows) or columns)amount
- the number of objects (e.g. items (rows) or columns) that the group should coverrepeatable
- true
if the group should repeat itself after the object amount otherwise false
java.lang.IllegalArgumentException
- < 0
< 1
public final ExecutionTableBorder getBorder()
public final int getStart()
public final int getAmount()
public final boolean isRepeatable()
true
if the group should repeat itself after the object amount otherwise false