axmol/cocos/scripting/lua-bindings/auto/api/RelativeLayoutParameter.lua

82 lines
3.0 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module RelativeLayoutParameter
-- @extend LayoutParameter
-- @parent_module ccui
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets RelativeAlign parameter for LayoutParameter.<br>
-- see RelativeAlign<br>
-- param align Relative align in `RelativeAlign`.
2014-03-10 14:04:58 +08:00
-- @function [parent=#RelativeLayoutParameter] setAlign
-- @param self
-- @param #int align
-- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter)
2014-03-10 14:04:58 +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
-- @param #string name
-- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter)
2014-03-10 14:04:58 +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
-- @return string#string ret (return value: string)
2014-03-10 14:04:58 +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
-- @return string#string ret (return value: string)
2014-03-10 14:04:58 +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
-- @param #string name
-- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get RelativeAlign parameter for LayoutParameter.<br>
-- see RelativeAlign<br>
-- return A RelativeAlign variable.
2014-03-10 14:04:58 +08:00
-- @function [parent=#RelativeLayoutParameter] getAlign
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Create a RelativeLayoutParameter instance.<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)
--------------------------------
--
-- @function [parent=#RelativeLayoutParameter] createCloneInstance
-- @param self
-- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter)
--------------------------------
--
-- @function [parent=#RelativeLayoutParameter] copyProperties
-- @param self
-- @param #ccui.LayoutParameter model
-- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Default constructor<br>
-- lua new
2014-03-10 14:04:58 +08:00
-- @function [parent=#RelativeLayoutParameter] RelativeLayoutParameter
-- @param self
-- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter)
2014-03-10 14:04:58 +08:00
return nil