2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module LinearLayoutParameter
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend LayoutParameter
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module ccui
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Sets LinearGravity parameter for LayoutParameter.<br>
|
|
|
|
-- see LinearGravity<br>
|
2015-03-26 10:44:28 +08:00
|
|
|
-- param LinearGravity Gravity in LinearGravity.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#LinearLayoutParameter] setGravity
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int gravity
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Gets LinearGravity parameter for LayoutParameter.<br>
|
|
|
|
-- see LinearGravity<br>
|
|
|
|
-- return LinearGravity
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#LinearLayoutParameter] getGravity
|
|
|
|
-- @param self
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Create a empty LinearLayoutParameter instance.<br>
|
2014-09-02 13:45:07 +08:00
|
|
|
-- return A initialized LayoutParameter which is marked as "autorelease".
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#LinearLayoutParameter] create
|
|
|
|
-- @param self
|
|
|
|
-- @return LinearLayoutParameter#LinearLayoutParameter ret (return value: ccui.LinearLayoutParameter)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#LinearLayoutParameter] createCloneInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#LinearLayoutParameter] copyProperties
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #ccui.LayoutParameter model
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Default constructor.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#LinearLayoutParameter] LinearLayoutParameter
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
return nil
|