public class StripeLayout extends AutoGraphLayout
Modifier and Type | Field and Description |
---|---|
static boolean |
EXPANDCOLUMNS
Information if rows or columns are added automatically
|
static boolean |
EXPANDROWS
Information if rows or columns are added automatically
|
COLUMNSFIRST, DOWNWARDS, ROWSFIRST, UPWARDS
Constructor and Description |
---|
StripeLayout()
Create a new Strip layout.
|
Modifier and Type | Method and Description |
---|---|
void |
setColumns(int cols)
Set behaviour, depending on the number of columns.
|
void |
setRows(int rows)
Set behavior, depending on the number of rows.
|
void |
setType(boolean type)
Set the default behavior
|
setDefinition, setDrawFirst, setOrientation
public static final boolean EXPANDROWS
public static final boolean EXPANDCOLUMNS
public StripeLayout()
public void setType(boolean type)
type
- Whether EXPANDROWS or EXPANDCOLUMNS is desired.#EXPANDCOLUMNS
public void setRows(int rows)
setRows
in class AutoGraphLayout
rows
- Number of desired rowspublic void setColumns(int cols)
setColumns
in class AutoGraphLayout
cols
- Number of desired columns