glok
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
glok
glok-core
/
uk.co.nickthecoder.glok.control
/
TreeViewCommands
Tree
View
Commands
object
TreeViewCommands
:
Commands
Actions for
TreeView
and
MixedTreeView
.
Members
Properties
commands
Link copied to clipboard
val
commands
:
MutableMap
<
String
,
Command
>
CONTRACT
Link copied to clipboard
val
CONTRACT
:
Command
EXPAND
Link copied to clipboard
val
EXPAND
:
Command
icons
Link copied to clipboard
var
icons
:
NamedImages
?
SELECT_
DOWN
Link copied to clipboard
val
SELECT_DOWN
:
Command
SELECT_
UP
Link copied to clipboard
val
SELECT_UP
:
Command
Functions
define
Link copied to clipboard
fun
define
(
name
:
String
,
text
:
String
,
keyCombination
:
KeyCombination
?
=
null
,
tooltip
:
String
?
=
null
)
:
Command
Adds a single
Command
to the map (
commands
).
fun
define
(
name
:
String
,
text
:
String
,
keyCombination
:
KeyCombination
?
=
null
,
tooltip
:
String
?
=
null
,
block
:
Command
.
(
)
->
Unit
)
:
Command