TreeKeyMap class final
Keyboard bindings for TreeModel.
Constructors
- TreeKeyMap({KeyBinding? up, KeyBinding? down, KeyBinding? left, KeyBinding? right, KeyBinding? toggle, KeyBinding? activate, KeyBinding? home, KeyBinding? end, KeyBinding? pageUp, KeyBinding? pageDown, KeyBinding? panLeft, KeyBinding? panRight})
Properties
- activate → KeyBinding
-
final
-
chords
↔ List<
({String id, KeyBinding key, KeyBinding prefix})> ? -
Optional multi-key chord bindings.
getter/setter pairinherited
- down → KeyBinding
-
final
- end → KeyBinding
-
final
-
fullHelp
↔ List<
List< KeyBinding> > -
Bindings for the full help view, grouped by columns.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- home → KeyBinding
-
final
- left → KeyBinding
-
final
- pageDown → KeyBinding
-
final
- pageUp → KeyBinding
-
final
- panLeft → KeyBinding
-
final
- panRight → KeyBinding
-
final
- right → KeyBinding
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shortHelp
↔ List<
KeyBinding> -
Bindings for the short help view.
getter/setter pairinherited
- toggle → KeyBinding
-
final
- up → KeyBinding
-
final
Methods
-
firstMatch(
KeyMsg msg) → KeyBinding? -
Returns the first enabled KeyBinding that matches
msg, ornull.inherited -
handle(
KeyMsg msg) → Cmd? -
Returns the command from the first matching handler, or
null.inherited -
intercept(
KeyMsg msg) → bool -
Returns
trueif a matching binding's KeyBinding.action was called.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited