Difference between revisions of "API Component"
From Flowcode Help
Jump to navigationJump to search (XML import) |
(XML import) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <sidebar>API | + | <sidebar>API Contents</sidebar> |
Component traversal functions | Component traversal functions | ||
+ | |||
+ | |||
+ | __TOC__ | ||
==Sub-classes provided for this class== | ==Sub-classes provided for this class== | ||
{| | {| | ||
|- | |- | ||
− | |[[API Component.Property|Property]] | + | |width="35%"|[[API Component.Property|Property]] |
|Property manipulation functions | |Property manipulation functions | ||
− | | | + | |} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Functions provided for this class== | ==Functions provided for this class== | ||
{| | {| | ||
|- | |- | ||
− | | | + | |width="35%"|[[API Component.SetInteractive|SetInteractive]] |
− | |||
− | |||
− | |[[API Component.SetInteractive|SetInteractive]] | ||
|Sets whether a component can interact with the mouse | |Sets whether a component can interact with the mouse | ||
|- | |- | ||
− | |[[API Component.GetInteractive|GetInteractive]] | + | |width="35%"|[[API Component.GetInteractive|GetInteractive]] |
|Gets whether a component can interact with the mouse | |Gets whether a component can interact with the mouse | ||
|- | |- | ||
− | |[[API Component.SetVisible|SetVisible]] | + | |width="35%"|[[API Component.SetVisible|SetVisible]] |
|Sets whether a component can be seen on the panel | |Sets whether a component can be seen on the panel | ||
|- | |- | ||
− | |[[API Component.GetVisible|GetVisible]] | + | |width="35%"|[[API Component.GetVisible|GetVisible]] |
|Gets whether a component can be seen on the panel | |Gets whether a component can be seen on the panel | ||
|- | |- | ||
− | |[[API Component.SetSolid|SetSolid]] | + | |width="35%"|[[API Component.SetSolid|SetSolid]] |
|Sets whether a component is checked in collision detections | |Sets whether a component is checked in collision detections | ||
|- | |- | ||
− | |[[API Component.GetSolid|GetSolid]] | + | |width="35%"|[[API Component.GetSolid|GetSolid]] |
|Gets whether a component is checked in collision detections | |Gets whether a component is checked in collision detections | ||
|- | |- | ||
− | |[[API Component.GetInstance|GetInstance]] | + | |width="35%"|[[API Component.SetCompile|SetCompile]] |
+ | |Sets whether a component is considered for compilation or not | ||
+ | |- | ||
+ | |width="35%"|[[API Component.GetCompile|GetCompile]] | ||
+ | |Gets whether a component will be compiled or not | ||
+ | |- | ||
+ | |width="35%"|[[API Component.GetInstance|GetInstance]] | ||
|Gets the type-instance of the component, >= 1 is valid | |Gets the type-instance of the component, >= 1 is valid | ||
|- | |- | ||
− | |[[API Component.FindChild|FindChild]] | + | |width="35%"|[[API Component.FindChild|FindChild]] |
|Finds a named object that is part of the component | |Finds a named object that is part of the component | ||
|- | |- | ||
− | |[[API Component.GetParent|GetParent]] | + | |width="35%"|[[API Component.GetParent|GetParent]] |
|Gets the owner of the components handle | |Gets the owner of the components handle | ||
|- | |- | ||
− | |[[API Component.GetNext|GetNext]] | + | |width="35%"|[[API Component.GetNext|GetNext]] |
|Gets the next (younger) sibling of the components handle | |Gets the next (younger) sibling of the components handle | ||
|- | |- | ||
− | |[[API Component.GetLast|GetLast]] | + | |width="35%"|[[API Component.GetLast|GetLast]] |
|Gets the previous (elder) sibling of the components handle | |Gets the previous (elder) sibling of the components handle | ||
|- | |- | ||
− | |[[API Component.GetChildHead|GetChildHead]] | + | |width="35%"|[[API Component.GetChildHead|GetChildHead]] |
|Gets the first (eldest) child of the component | |Gets the first (eldest) child of the component | ||
|- | |- | ||
− | |[[API Component.GetChildTail|GetChildTail]] | + | |width="35%"|[[API Component.GetChildTail|GetChildTail]] |
|Gets the last (youngest) child of the component | |Gets the last (youngest) child of the component | ||
|- | |- | ||
− | |[[API Component.GetOriginal|GetOriginal]] | + | |width="35%"|[[API Component.GetOriginal|GetOriginal]] |
|Gets the original definition of the component, returns Current if no original copy | |Gets the original definition of the component, returns Current if no original copy | ||
|- | |- | ||
− | |[[API Component.Clone|Clone]] | + | |width="35%"|[[API Component.Clone|Clone]] |
|Clones an existing object to another position on the panel | |Clones an existing object to another position on the panel | ||
|- | |- | ||
− | |[[API Component.Delete|Delete]] | + | |width="35%"|[[API Component.Delete|Delete]] |
|Deletes an existing object, removing it from the panel | |Deletes an existing object, removing it from the panel | ||
+ | |} | ||
− | |||
==Examples== | ==Examples== | ||
+ | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | ==See also== | ||
+ | [[API Tree]] |
Latest revision as of 15:57, 16 January 2014
<sidebar>API Contents</sidebar> Component traversal functions
Contents
Sub-classes provided for this class
Property | Property manipulation functions |
Functions provided for this class
SetInteractive | Sets whether a component can interact with the mouse |
GetInteractive | Gets whether a component can interact with the mouse |
SetVisible | Sets whether a component can be seen on the panel |
GetVisible | Gets whether a component can be seen on the panel |
SetSolid | Sets whether a component is checked in collision detections |
GetSolid | Gets whether a component is checked in collision detections |
SetCompile | Sets whether a component is considered for compilation or not |
GetCompile | Gets whether a component will be compiled or not |
GetInstance | Gets the type-instance of the component, >= 1 is valid |
FindChild | Finds a named object that is part of the component |
GetParent | Gets the owner of the components handle |
GetNext | Gets the next (younger) sibling of the components handle |
GetLast | Gets the previous (elder) sibling of the components handle |
GetChildHead | Gets the first (eldest) child of the component |
GetChildTail | Gets the last (youngest) child of the component |
GetOriginal | Gets the original definition of the component, returns Current if no original copy |
Clone | Clones an existing object to another position on the panel |
Delete | Deletes an existing object, removing it from the panel |
Examples
No additional examples