Skip to main content

AddICData

AddICDataAction

Overview needed


Constructor

public AddICDataAction

new AddICDataAction(data, target, flip)

Initialize the Action with the data in "ICData" and target in "DigitalCircuitDesigner".

Parameters

  •  data: ICData – The ICData.

  •  target: DigitalCircuitDesigner – The target dessigner that we want to add ICData to it.

  •  flip: false | true – A boolean to mark if this should be a deletion action.


Properties

No publicly accessible properties on AddICDataAction

private data: ICData

The ICData of the action.

private target: DigitalCircuitDesigner

The target DigitalCircuitDesigner.


Methods

public normalExecute

normalExecute() => Action

Execute the action, add the ICData to the target designer.

Returns

public normalUndo

normalUndo() => Action

Undo the action, remove the ICData that added to the designer.

Returns

public getName

getName() => string

Description needed

Returns

  •   stringDescription needed

Static Methods

No static methods for AddICDataAction


Functions

AddICData

AddICData(data, target) => AddICDataAction

Description needed

Parameters

Returns

  •   AddICDataActionDescription needed

RemoveICData

RemoveICData(data, target) => AddICDataAction

Description needed

Parameters

Returns

  •   AddICDataActionDescription needed