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>
|
2015-03-27 00:17:35 +08:00
|
|
|
-- param align Relative align in `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
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Set widget name your widget want to relative to.<br>
|
|
|
|
-- param name Relative widget 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
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Get a name of LayoutParameter in Relative Layout.<br>
|
|
|
|
-- return name Relative name in string.
|
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
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Get the relative widget name.<br>
|
|
|
|
-- return name A relative widget name in string.
|
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
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Set a name for LayoutParameter in Relative Layout.<br>
|
|
|
|
-- param name A string 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
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Get RelativeAlign parameter for LayoutParameter.<br>
|
2014-09-02 13:45:07 +08:00
|
|
|
-- see RelativeAlign<br>
|
2015-03-27 00:17:35 +08:00
|
|
|
-- return A RelativeAlign variable.
|
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
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Create a RelativeLayoutParameter 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=#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
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-31 12:01:57 +08:00
|
|
|
-- Default constructor<br>
|
|
|
|
-- lua new
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RelativeLayoutParameter] RelativeLayoutParameter
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
return nil
|