NoteOperator
-
class
Operators.NoteOperator()
Methods
-
Operators.NoteOperator.addMapping() inherited
addMapping(button:Button, modifier:KeyModifiers?): voidAdds a button and key modifier mapping for the operator. If no mapping is provided, all combinations are considered valid. All mappings require a mouse button, but a key modifier is optional.
Parameters
button:
Buttonmodifier:
KeyModifiers= KeyModifiers.NoneReturns: void
-
Operators.NoteOperator.checkPinInstance() - checkPinInstance(nodeId: number): boolean
Returns true if the nodeId is the id of a note pin instance.
Parameters
nodeId: numberReturns: boolean
-
Operators.NoteOperator.clearMapping() inherited
clearMapping(): voidClears any button and key modifier mappings for the operator.
Returns: void
-
Operators.NoteOperator.getNoteTextElement() - getNoteTextElement():
NoteTextElementReturns:
NoteTextElementa NoteTextElement that can be used to configure the NoteText HTML container.
-
Operators.NoteOperator.setMapping() inherited
setMapping(button:Button, modifier:KeyModifiers?): voidSets the button and key modifier mapping for the operator.
Parameters
button:
Buttonmodifier:
KeyModifiers= KeyModifiers.NoneReturns: void
-
Operators.NoteOperator.setNoteTextElement() - setNoteTextElement(noteTextElement:
NoteTextElement): voidParameters
noteTextElement:NoteTextElementReturns: void