Class ccs.UIRelativeLayoutParameter
- Defined in: UILayoutParameter.js
- Extends ccs.UILayoutParameter
Constructor Attributes | Constructor Name and Description |
---|---|
Base class for ccs.UIRelativeLayoutParameter
|
Method Summary
Class Detail
ccs.UIRelativeLayoutParameter()
Base class for ccs.UIRelativeLayoutParameter
Method Detail
-
allocates and initializes a UIRelativeLayoutParameter.
// example var uiRelativeLayoutParameter = ccs.UIRelativeLayoutParameter.create();
- Returns:
- {ccs.UIRelativeLayoutParameter}
-
{ccs.UIRelativeAlign} getAlign()Gets UIRelativeAlign parameter for LayoutParameter.
- Returns:
- {ccs.UIRelativeAlign}
-
{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 UIRelativeAlign parameter for LayoutParameter.
- Parameters:
- {ccs.UIRelativeAlign} 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