Class clove::FlatLayoutΒΆ
-
class
clove
::
FlatLayout
: public clove::Layout A mixin for flat layout implementations.
This layout shows one of its childs in full sizes and hides all the others.
Subclassed by clove::FlatView
Public Functions
-
switchInvisibleAnimationName
() Optional animation name for disabling a view.
-
setSwitchInvisibleAnimationName
(value) Setter for switchInvisibleAnimationName().
- Parameters
value
: The new value.
-
switchVisibleAnimationName
() Optional animation name for enabling a view.
-
setSwitchVisibleAnimationName
(value) Setter for switchVisibleAnimationName().
- Parameters
value
: The new value.
-
switchInvisibleAnimationDuration
() Optional animation duration (in msec) for the disabling animation.
-
setSwitchInvisibleAnimationDuration
(value) Setter for switchInvisibleAnimationDuration().
- Parameters
value
: The new value.
-
switchVisibleAnimationDuration
() Optional animation duration (in msec) for the enabling animation.
-
setSwitchVisibleAnimationDuration
(value) Setter for switchVisibleAnimationDuration().
- Parameters
value
: The new value.
-
collapseHidden
() If the non-visible widgets shall be collapsed (affects layouting).
-
setCollapseHidden
(value) Setter for collapseHidden().
- Parameters
value
: The new value.
-
currentView
() The index (integer) of the currently visible child.
-
setCurrentView
(value) Setter for currentView().
- Parameters
value
: The new value.
-
children
() List of all child widgets in this layout as widget configurations like in clove::build().
-
setChildren
(value) Setter for children().
- Parameters
value
: The new value.
-
addChild
(value) Adds a new child widget to the layout.
- Parameters
value
: The new widget as widget configuration like for clove::build().
-
clearChilds
() Removes all childs from the layout.
-