getHgap
getHgap: (CardLayout) -> numberThe gap at the card's left and right.
CardLayout.new()| Method | Returns | Description |
|---|---|---|
getHgap() | number | The gap at the card's left and right. |
setHgap(number) | () | Sets the horizontal gap. |
getVgap() | number | The gap above and below the card. |
setVgap(number) | () | Sets the vertical gap. |
show(Container, string) | () | Shows the card added under name, and validates parent; a name no card has changes nothing. A parent whose layout is not this one rais… |
first(Container) | () | Shows the first card. |
next(Container) | () | Shows the next card, the first after the last. |
previous(Container) | () | Shows the previous card, the last before the first. |
last(Container) | () | Shows the last card. |
new() | CardLayout | () -> CardLayout: A layout with no gaps. |
new(number, number) | CardLayout |
| Method | Returns | Description |
|---|---|---|
CardLayoutClass.new | CardLayout | () -> CardLayout: A layout with no gaps. |
getHgapgetHgap: (CardLayout) -> numberThe gap at the card's left and right.
setHgapsetHgap: (CardLayout, number) -> ()Sets the horizontal gap.
getVgapgetVgap: (CardLayout) -> numberThe gap above and below the card.
setVgapsetVgap: (CardLayout, number) -> ()Sets the vertical gap.
showshow: (CardLayout, Container, string) -> ()Shows the card added under name, and validates parent; a name no card has changes nothing. A parent whose layout is not this one raises IllegalArgumentException.
firstfirst: (CardLayout, Container) -> ()Shows the first card.
nextnext: (CardLayout, Container) -> ()Shows the next card, the first after the last.
previousprevious: (CardLayout, Container) -> ()Shows the previous card, the last before the first.
lastlast: (CardLayout, Container) -> ()Shows the last card.
newnew: (() -> CardLayout) & ((number, number) -> CardLayout)() -> CardLayout: A layout with no gaps.
(number, number) -> CardLayout: A layout with these gaps around the card.