getAlignment
getAlignment: (FlowLayout) -> numberThe alignment (LEFT, CENTER, ...).
FlowLayout.new()| Method | Returns | Description |
|---|---|---|
getAlignment() | number | The alignment (LEFT, CENTER, ...). |
setAlignment(number) | () | Sets the alignment, for every container using the layout at its next layout. |
getHgap() | number | The gap between components and around the rows. |
setHgap(number) | () | Sets the horizontal gap. |
getVgap() | number | The gap between rows and around them. |
setVgap(number) | () | Sets the vertical gap. |
new() | FlowLayout | () -> FlowLayout: Centred rows, gaps of 5. |
new(number) | FlowLayout | |
new(number, number, number) | FlowLayout |
| Field | Type | Description |
|---|---|---|
LEFT | number | Rows start at the left. |
CENTER | number | Rows are centred. |
RIGHT | number | Rows end at the right. |
LEADING | number | Rows start where lines begin. |
TRAILING | number | Rows end where lines end. |
| Method | Returns | Description |
|---|---|---|
FlowLayoutClass.new | FlowLayout | () -> FlowLayout: Centred rows, gaps of 5. |
getAlignmentgetAlignment: (FlowLayout) -> numberThe alignment (LEFT, CENTER, ...).
setAlignmentsetAlignment: (FlowLayout, number) -> ()Sets the alignment, for every container using the layout at its next layout.
getHgapgetHgap: (FlowLayout) -> numberThe gap between components and around the rows.
setHgapsetHgap: (FlowLayout, number) -> ()Sets the horizontal gap.
getVgapgetVgap: (FlowLayout) -> numberThe gap between rows and around them.
setVgapsetVgap: (FlowLayout, number) -> ()Sets the vertical gap.
newnew: (() -> FlowLayout) & ((number) -> FlowLayout) & ((number, number, number) -> FlowLayout)() -> FlowLayout: Centred rows, gaps of 5.
(number) -> FlowLayout: Rows aligned as align, gaps of 5.
(number, number, number) -> FlowLayout: Rows aligned as align, with these gaps.