Namespace: PP.Ufe.Ui;
Term
The Term class implements the term that is used in the term editor.
PP.initClass(PP.Ufe.Ui.Term, PP.Object, "PP.Ufe.Ui.Term");
Constructor name | Brief description | |
Term | The Term constructor creates an instance of the Term class. |
Property name | Brief description | |
Content | The Content property determines term contents. | |
DomNode | The DomNode property sets the term DOM node. | |
EndOffset | The EndOffset property contains position of the last term element in the expression. | |
Formula | The Formula property sets the term formula. | |
Selected | The Selected property determines whether a term is selected. | |
StartOffset | The StartOffset property contains position of the first term element in the expression. |
Property name | Brief description | |
canEditFormula | The canEditFormula property determines whether term formula can be edited. | |
deleteFirstChar | The deleteFirstChar method deletes the first term character. | |
deleteLastChar | The deleteLastChar method deletes the last term character. | |
getIsOneCharTerm | The getIsOneCharTerm property checks if a term contains one character. | |
keyDown | The keyDown method processes a keyboard key hold down event. | |
keyPress | The keyPress method processes a keyboard key press event. | |
slice | The slice method redetermines the slice native method used to manage term contents. |
Property name | Brief description | |
BecameEmpty | The BecameEmpty event occurs after a term becomes empty. | |
EndDeletePressed | The EndDeletePressed event occurs after pressing the DELETE key when the cursor is after the last term character. | |
Splitted | The Splitted event occurs after the term is split. | |
StartBackspacePressed | The StartBackspacePressed event occurs after pressing the BACKSPACE key when the cursor is before the first term character. |
Property name | Brief description | |
Data | The Data property associates a random object with this component. | |
Id | The Id property sets component identifier. | |
Settings | The Settings property sets the component parameters. |
Method name | Brief description | |
clone | The clone method creates a copy of object. It is not implemented in PP.Ui.Control. | |
dispose | The dispose method deletes the component. | |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. |
See also: