Class: MacroOperation

Kekule. MacroOperation

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.
Source:

Extends

  • Kekule.Command

Methods

add(oper) → {Int}

Add a sub operation.
Parameters:
Name Type Description
oper Kekule.Operation
Source:
Returns:
Type
Int

getChildAt(index) → {Kekule.Operation}

Returns child operation at index.
Parameters:
Name Type Description
index Int
Source:
Returns:
Type
Kekule.Operation

getChildCount() → {Int}

Returns child operation count.
Source:
Returns:
Type
Int

remove(oper)

Delete a sub operation.
Parameters:
Name Type Description
oper Kekule.Operation
Source:

Kekule. MacroOperation

new MacroOperation()

Source:

Methods

add(oper) → {Int}

Add a sub operation.
Parameters:
Name Type Description
oper Kekule.Operation
Source:
Returns:
Type
Int

getChildAt(index) → {Kekule.Operation}

Returns child operation at index.
Parameters:
Name Type Description
index Int
Source:
Returns:
Type
Kekule.Operation

getChildCount() → {Int}

Returns child operation count.
Source:
Returns:
Type
Int

remove(oper)

Delete a sub operation.
Parameters:
Name Type Description
oper Kekule.Operation
Source: