Search
Preparing search index...
The search index is not available
trivial-components
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"TrivialTree"
TrivialTree
Class TrivialTree<E>
Type parameters
E
Hierarchy
TrivialTree
Implements
TrivialComponent
Index
Constructors
constructor
Properties
$component
Wrapper
$editor
$original
Input
$spinners
config
entries
on
Node
Expansion
State
Changed
on
Selected
Entry
Changed
process
Update
Timer
selected
Entry
Id
tree
Box
Methods
add
Node
count
Visible
Entries
destroy
find
Entries
find
Entry
ById
fire
Change
Events
get
Editor
get
Main
Dom
Element
get
Selected
Entry
query
remove
Node
select
Node
ById
set
Selected
Entry
update
Children
update
Entries
update
Node
Constructors
constructor
new
Trivial
Tree
(
originalInput
:
JQuery
|
Element
|
string
, options
?:
TrivialTreeConfig
<
E
>
)
:
TrivialTree
Parameters
originalInput:
JQuery
|
Element
|
string
Default value
options:
TrivialTreeConfig
<
E
>
= {}
Returns
TrivialTree
Properties
Private
$component
Wrapper
$component
Wrapper
:
JQuery
Private
$editor
$editor
:
JQuery
Private
$original
Input
$original
Input
:
JQuery
Private
$spinners
$spinners
:
JQuery
= $()
Private
config
config
:
TrivialTreeConfig
<
E
>
Private
entries
entries
:
E
[]
on
Node
Expansion
State
Changed
on
Node
Expansion
State
Changed
:
TrivialEvent
<
E
>
= new TrivialEvent<E>(this)
on
Selected
Entry
Changed
on
Selected
Entry
Changed
:
TrivialEvent
<
E
>
= new TrivialEvent<E>(this)
Private
process
Update
Timer
process
Update
Timer
:
number
Private
selected
Entry
Id
selected
Entry
Id
:
any
Private
tree
Box
tree
Box
:
TrivialTreeBox
<
E
>
Methods
add
Node
add
Node
(
parentNodeId
:
number
, node
:
E
)
:
void
Parameters
parentNodeId:
number
node:
E
Returns
void
Private
count
Visible
Entries
count
Visible
Entries
(
entries
:
E
[]
)
:
any
Parameters
entries:
E
[]
Returns
any
destroy
destroy
(
)
:
void
Returns
void
Private
find
Entries
find
Entries
(
filterFunction
:
function
)
:
E
[]
Parameters
filterFunction:
function
(
node
:
E
)
:
boolean
Parameters
node:
E
Returns
boolean
Returns
E
[]
Private
find
Entry
ById
find
Entry
ById
(
id
:
number
)
:
E
Parameters
id:
number
Returns
E
Private
fire
Change
Events
fire
Change
Events
(
entry
:
E
)
:
void
Parameters
entry:
E
Returns
void
get
Editor
get
Editor
(
)
:
Element
Returns
Element
get
Main
Dom
Element
get
Main
Dom
Element
(
)
:
Element
Returns
Element
get
Selected
Entry
get
Selected
Entry
(
)
:
void
Returns
void
Private
query
query
(
highlightDirection
?:
HighlightDirection
)
:
void
Parameters
Optional
highlightDirection:
HighlightDirection
Returns
void
remove
Node
remove
Node
(
nodeId
:
string
)
:
void
Parameters
nodeId:
string
Returns
void
select
Node
ById
select
Node
ById
(
nodeId
:
any
)
:
void
Parameters
nodeId:
any
Returns
void
Private
set
Selected
Entry
set
Selected
Entry
(
entry
:
E
)
:
void
Parameters
entry:
E
Returns
void
update
Children
update
Children
(
parentNodeId
:
any
, children
:
E
[]
)
:
void
Parameters
parentNodeId:
any
children:
E
[]
Returns
void
update
Entries
update
Entries
(
newEntries
:
E
[]
)
:
void
Parameters
newEntries:
E
[]
Returns
void
update
Node
update
Node
(
node
:
E
)
:
void
Parameters
node:
E
Returns
void
Globals
"
Trivial
Calendar
Box"
"
Trivial
Combo
Box"
"
Trivial
Core"
"
Trivial
Date
Suggestion
Engine"
"
Trivial
Date
Time
Field"
"
Trivial
Event"
"
Trivial
List
Box"
"
Trivial
Tag
Combo
Box"
"
Trivial
Time
Suggestion
Engine"
"
Trivial
Tree"
"
Trivial
Tree
Box"
"
Trivial
Tree
Combo
Box"
"
Trivial
Unit
Box"
"index"
"trivial-
highlight"
Trivial
Tree
constructor
$component
Wrapper
$editor
$original
Input
$spinners
config
entries
on
Node
Expansion
State
Changed
on
Selected
Entry
Changed
process
Update
Timer
selected
Entry
Id
tree
Box
add
Node
count
Visible
Entries
destroy
find
Entries
find
Entry
ById
fire
Change
Events
get
Editor
get
Main
Dom
Element
get
Selected
Entry
query
remove
Node
select
Node
ById
set
Selected
Entry
update
Children
update
Entries
update
Node
Trivial
Tree
Config
Search
Bar
Mode
Generated using
TypeDoc