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 target: DigitalCircuitDesigner
The target DigitalCircuitDesigner.
Methods
public normalExecute
normalExecute() => Action
Execute the action, add the ICData to the target designer.
Returns
-
Action
– This action.
public normalUndo
normalUndo() => Action
Undo the action, remove the ICData that added to the designer.
Returns
-
Action
– This action.
Static Methods
No static methods for AddICDataAction
Functions
AddICData
AddICData(data, target) => AddICDataAction
Description needed
Parameters
data: ICData
– Description neededtarget: DigitalCircuitDesigner
– Description needed
Returns
-
AddICDataAction
– Description needed
RemoveICData
RemoveICData(data, target) => AddICDataAction
Description needed
Parameters
data: ICData
– Description neededtarget: DigitalCircuitDesigner
– Description needed
Returns
-
AddICDataAction
– Description needed