Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TrivialTreeComboBox<E>

Type parameters

  • E

Hierarchy

  • TrivialTreeComboBox

Implements

Index

Constructors

constructor

Properties

Private $clearButton

$clearButton: JQuery

Private $dropDown

$dropDown: JQuery

Private $dropDownTargetElement

$dropDownTargetElement: JQuery

Private $editor

$editor: JQuery

Private $originalInput

$originalInput: JQuery

Private $selectedEntryWrapper

$selectedEntryWrapper: JQuery

Private $spinners

$spinners: JQuery = $()

Private $treeComboBox

$treeComboBox: JQuery

Private $trigger

$trigger: JQuery

Private autoCompleteTimeoutId

autoCompleteTimeoutId: number = -1

Private blurCausedByClickInsideComponent

blurCausedByClickInsideComponent: boolean = false

Private config

Private doNoAutoCompleteBecauseBackspaceWasPressed

doNoAutoCompleteBecauseBackspaceWasPressed: boolean = false

Private editingMode

editingMode: EditingMode

Private isDropDownOpen

isDropDownOpen: boolean = false

Private isEditorVisible

isEditorVisible: boolean = false

Private lastCommittedValue

lastCommittedValue: E = null

onBlur

onBlur: TrivialEvent<void> = new TrivialEvent<void>(this)

onFocus

onFocus: TrivialEvent<void> = new TrivialEvent<void>(this)

onSelectedEntryChanged

onSelectedEntryChanged: TrivialEvent<E> = new TrivialEvent<E>(this)

Private selectedEntry

selectedEntry: E = null

Private treeBox

treeBox: TrivialTreeBox<E>

Private usingDefaultQueryFunction

usingDefaultQueryFunction: boolean = false

Methods

Private autoCompleteIfPossible

  • autoCompleteIfPossible(delay?: number): void

closeDropDown

  • closeDropDown(): void

destroy

  • destroy(): void

Private editorContainsFreeText

  • editorContainsFreeText(): boolean

Private fireChangeEvents

  • fireChangeEvents(entry: E, originalEvent?: Event): void

focus

  • focus(): void

getDropDown

  • getDropDown(): JQuery

getEditor

  • getEditor(): Element

getMainDomElement

  • getMainDomElement(): Element

Private getNonSelectedEditorValue

  • getNonSelectedEditorValue(): any

getSelectedEntry

  • getSelectedEntry(): any

Private hideEditor

  • hideEditor(): void

Private isDropDownNeeded

  • isDropDownNeeded(): boolean

Private isEntrySelected

  • isEntrySelected(): boolean

openDropDown

  • openDropDown(): void

Private query

removeNode

  • removeNode(nodeId: string): void

Private repositionDropDown

  • repositionDropDown(): void

setEditingMode

setSelectedEntry

  • setSelectedEntry(entry: E, commit: boolean, fireEvent?: boolean, originalEvent?: Event): void
  • Parameters

    • entry: E
    • commit: boolean
    • Optional fireEvent: boolean
    • Optional originalEvent: Event

    Returns void

Private showEditor

  • showEditor(): void

updateChildren

  • updateChildren(parentNodeId: any, children: E[]): void

updateEntries

updateNode

  • updateNode(node: E): void

Generated using TypeDoc