new MacroOperation(childOperations)
A macro operation consisted by several child operations.
Parameters:
| Name | Type | Description |
|---|---|---|
childOperations |
Array | Child operations of this macro one. |
Properties:
| Name | Type | Description |
|---|---|---|
children |
Array | Child operations. |
Extends
- Kekule.Command
Methods
-
add(oper) → {Int}
-
Add a sub operation.
Parameters:
Name Type Description operKekule.Operation Returns:
- Type
- Int
-
getChildAt(index) → {Kekule.Operation}
-
Returns child operation at index.
Parameters:
Name Type Description indexInt Returns:
- Type
- Kekule.Operation
-
getChildCount() → {Int}
-
Returns child operation count.
Returns:
- Type
- Int
-
remove(oper)
-
Delete a sub operation.
Parameters:
Name Type Description operKekule.Operation