-------------------------------- -- @module RelativeLayoutParameter -- @extend LayoutParameter -- @parent_module ccui -------------------------------- -- Sets RelativeAlign parameter for LayoutParameter.
-- see RelativeAlign
-- param align Relative align in `RelativeAlign`. -- @function [parent=#RelativeLayoutParameter] setAlign -- @param self -- @param #int align -- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter) -------------------------------- -- Set widget name your widget want to relative to.
-- param name Relative widget name. -- @function [parent=#RelativeLayoutParameter] setRelativeToWidgetName -- @param self -- @param #string name -- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter) -------------------------------- -- Get a name of LayoutParameter in Relative Layout.
-- return name Relative name in string. -- @function [parent=#RelativeLayoutParameter] getRelativeName -- @param self -- @return string#string ret (return value: string) -------------------------------- -- Get the relative widget name.
-- return name A relative widget name in string. -- @function [parent=#RelativeLayoutParameter] getRelativeToWidgetName -- @param self -- @return string#string ret (return value: string) -------------------------------- -- Set a name for LayoutParameter in Relative Layout.
-- param name A string name. -- @function [parent=#RelativeLayoutParameter] setRelativeName -- @param self -- @param #string name -- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter) -------------------------------- -- Get RelativeAlign parameter for LayoutParameter.
-- see RelativeAlign
-- return A RelativeAlign variable. -- @function [parent=#RelativeLayoutParameter] getAlign -- @param self -- @return int#int ret (return value: int) -------------------------------- -- Create a RelativeLayoutParameter instance.
-- return A initialized LayoutParameter which is marked as "autorelease". -- @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) -------------------------------- -- Default constructor
-- lua new -- @function [parent=#RelativeLayoutParameter] RelativeLayoutParameter -- @param self -- @return RelativeLayoutParameter#RelativeLayoutParameter self (return value: ccui.RelativeLayoutParameter) return nil