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 | |
The Id property determines a repository object identifier. |
Method name | Brief description | |
clone | The clone method creates an object copy. | |
dispose | The dispose method deletes the component. | |
getHashCode | The getHashCode method returns hash code of repository object. | |
getId | The getId method returns repository object identifier. | |
getSettings | The getSettings method returns repository object settings. | |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. | |
isEqual | The isEqual method determines whether the specified object is equal to the current repository object. | |
isLive | The isLive method determines validity of repository object. | |
removeAllEvents | The removeAllEvents method removes all object event handlers by the specified context. | |
setId | The setId method determines a repository object identifier. | |
setSettings | The setSettings method determines repository object settings. | |
defineProps | The defineProps method creates get and set methods from name array for the specified class. | |
keys | The keys method returns array of methods and properties names for the specified object. |
See also: