2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module RelativeLayoutParameter
|
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 RelativeAlign parameter for LayoutParameter.<br>
|
|
|
|
-- see RelativeAlign<br>
|
|
|
|
-- param RelativeAlign
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RelativeLayoutParameter] setAlign
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int align
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Sets a key for LayoutParameter. Witch widget named this is relative to.<br>
|
|
|
|
-- param name
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RelativeLayoutParameter] setRelativeToWidgetName
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string name
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Gets a name in Relative Layout of LayoutParameter.<br>
|
|
|
|
-- return name
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RelativeLayoutParameter] getRelativeName
|
|
|
|
-- @param self
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @return string#string ret (return value: string)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Gets the key of LayoutParameter. Witch widget named this is relative to.<br>
|
|
|
|
-- return name
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RelativeLayoutParameter] getRelativeToWidgetName
|
|
|
|
-- @param self
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @return string#string ret (return value: string)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Sets a name in Relative Layout for LayoutParameter.<br>
|
|
|
|
-- param name
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RelativeLayoutParameter] setRelativeName
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string name
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Gets RelativeAlign parameter for LayoutParameter.<br>
|
|
|
|
-- see RelativeAlign<br>
|
|
|
|
-- return RelativeAlign
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RelativeLayoutParameter] getAlign
|
|
|
|
-- @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
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Allocates and initializes.<br>
|
|
|
|
-- return A initialized LayoutParameter which is marked as "autorelease".
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RelativeLayoutParameter] create
|
|
|
|
-- @param self
|
|
|
|
-- @return RelativeLayoutParameter#RelativeLayoutParameter ret (return value: ccui.RelativeLayoutParameter)
|
|
|
|
|
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=#RelativeLayoutParameter] 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=#RelativeLayoutParameter] copyProperties
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #ccui.LayoutParameter model
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Default constructor
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RelativeLayoutParameter] RelativeLayoutParameter
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|