Class ccs.RelativeLayoutParameter

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

Method Summary

Class Detail

ccs.RelativeLayoutParameter()
Base class for ccs.RelativeLayoutParameter

Method Detail

  • <static> {ccs.RelativeLayoutParameter} ccs.RelativeLayoutParameter.create()
    allocates and initializes a RelativeLayoutParameter.
    // example
    var uiRelativeLayoutParameter = ccs.RelativeLayoutParameter.create();
    Returns:
    {ccs.RelativeLayoutParameter}
  • {ccs.RelativeAlign} getAlign()
    Gets RelativeAlign parameter for LayoutParameter.
    Returns:
    {ccs.RelativeAlign}
  • {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:
    {ccs.RelativeAlign} 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