Class ccui.RelativeLayoutParameter

Class Summary
Constructor Attributes Constructor Name and Description
 
Base class for ccui.RelativeLayoutParameter

Method Summary

Class Detail

ccui.RelativeLayoutParameter()
Base class for ccui.RelativeLayoutParameter

Method Detail

  • copyProperties(model)
    copy properties
    Parameters:
    {ccui.RelativeLayoutParameter} model
  • <static> {ccui.RelativeLayoutParameter} ccui.RelativeLayoutParameter.create()
    allocates and initializes a RelativeLayoutParameter.
    // example
    var uiRelativeLayoutParameter = ccui.RelativeLayoutParameter.create();
    Returns:
    {ccui.RelativeLayoutParameter}
  • {ccui.RelativeLayoutParameter} createCloneInstance()
    create clone instance.
    Returns:
    {ccui.RelativeLayoutParameter}
  • {ccui.RELATIVE_ALIGN_*} getAlign()
    Gets RelativeAlign parameter for LayoutParameter.
    Returns:
    {ccui.RELATIVE_ALIGN_*}
  • {string} getRelativeName()
    Gets a name in Relative Layout of LayoutParameter.
    Returns:
    {string}
  • {string} getRelativeToWidgetName()
    Gets the key of LayoutParameter. Witch widget named this is relative to.
    Returns:
    {string}
  • setAlign(align)
    Sets RelativeAlign parameter for LayoutParameter.
    Parameters:
    {ccui.RELATIVE_ALIGN_*} align
  • setRelativeName(name)
    Sets a name in Relative Layout for LayoutParameter.
    Parameters:
    {String} name
  • setRelativeToWidgetName(name)
    Sets a key for LayoutParameter. Witch widget named this is relative to.
    Parameters:
    {String} name