new Modify(chemObject, newPropValues)
Operation of changing a chemObject's properties.
Parameters:
Name | Type | Description |
---|---|---|
chemObject |
Kekule.ChemObject | Target chem object. |
newPropValues |
Hash | A hash of new prop-value map. |
Properties:
Name | Type | Description |
---|---|---|
newPropValues |
Hash | A hash of new prop-value map. |
Extends
Methods
-
execute()
-
Execute this command.
- Inherited From:
- Source:
-
isReversible() → {Bool}
-
Indicate whether this command can be undone. Default is true. Descendants should override this method if unreversible.
- Inherited From:
- Source:
Returns:
- Type
- Bool
-
reverse()
-
Undo command execution.
- Inherited From:
- Source: