Cocos2d-x  v3.11
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
LayoutParameterProtocol Class Referenceabstract

Protocol for getting a LayoutParameter. More...

Inherited by Widget.

Public Member Functions

virtual ~LayoutParameterProtocol ()
 Default destructor.
 
local ~LayoutParameterProtocol ()
 Default destructor.
 
virtual LayoutParametergetLayoutParameter () const =0

Detailed Description

Protocol for getting a LayoutParameter.

Every element want to have layout parameter should inherit from this class.

Member Function Documentation

virtual LayoutParameter*
getLayoutParameter
( ) const
pure virtual
Returns
A LayoutParameter and its descendant pointer.

Implemented in Widget.

var getLayoutParameter ( )
pure virtual
Returns
A LayoutParameter and its descendant pointer.

Implemented in Widget.

local getLayoutParameter ( )
pure virtual
Returns
A LayoutParameter and its descendant pointer.

Implemented in Widget.


The documentation for this class was generated from the following file: