bool IsLayoutAnimated() const;
/**
- * @brief Register child properties of layout with owner type.
- *
- * The Actor hierarchy uses these registered properties in the type
- * system to ensure child custom properties are properly initialized.
- *
- * @param[in] containerType The type of the containing view (owner)
- */
- void RegisterChildProperties( const std::string& containerType );
-
- /**
* @brief This is called to find out how big a layout should be.
*
* The parent supplies constraint information in the width and height parameters.
static LayoutLength GetDefaultSize( LayoutLength size, MeasureSpec measureSpec );
/**
+ * @copydoc LayoutParent::SetParent
+ */
+ virtual void SetParent( LayoutParent* parent ) override;
+
+ /**
* @copydoc LayoutParent::GetParent
*/
virtual LayoutParent* GetParent() override;
*/
virtual void OnInitialize();
+ /**
+ * @brief Called when a layer animation state is changed.
+ */
+ virtual void OnAnimationStateChanged( bool animateLayout ) {}
+
private:
/**
* @brief Called to change the size of the layout.
*/
void OnLayoutAnimationFinished( Animation& animation );
+ /**
+ * @brief Register child properties of layout with owner type.
+ *
+ * The Actor hierarchy uses these registered properties in the type
+ * system to ensure child custom properties are properly initialized.
+ *
+ * @param[in] containerType The type of the containing view (owner)
+ */
+ void RegisterChildProperties( const std::string& containerType );
+
public:
class Impl; // Class declaration is public so we can add devel API's in the future