const classdom::Key

sys::Obj
  dom::Key

@Js
@Serializable { simple=true }

Key models a key code

a

Source

const static Key a := ...

alt

Source

const static Key alt := ...

b

Source

const static Key b := ...

backSlash

Source

const static Key backSlash := ...

backspace

Source

const static Key backspace := ...

backtick

Source

const static Key backtick := ...

c

Source

const static Key c := ...

capsLock

Source

const static Key capsLock := ...

closeBracket

Source

const static Key closeBracket := ...

code

Source

const Int code

Key code

comma

Source

const static Key comma := ...

ctrl

Source

const static Key ctrl := ...

d

Source

const static Key d := ...

dash

Source

const static Key dash := ...

delete

Source

const static Key delete := ...

down

Source

const static Key down := ...

e

Source

const static Key e := ...

end

Source

const static Key end := ...

enter

Source

const static Key enter := ...

equal

Source

const static Key equal := ...

equals

Source

virtual override Bool equals(Obj? that)

Equality is based on name.

esc

Source

const static Key esc := ...

f

Source

const static Key f := ...

f1

Source

const static Key f1 := ...

f10

Source

const static Key f10 := ...

f2

Source

const static Key f2 := ...

f3

Source

const static Key f3 := ...

f4

Source

const static Key f4 := ...

f5

Source

const static Key f5 := ...

f6

Source

const static Key f6 := ...

f7

Source

const static Key f7 := ...

f8

Source

const static Key f8 := ...

f9

Source

const static Key f9 := ...

fromCode

Source

static Key fromCode(Int code)

Lookup by key code.

fromStr

Source

static new fromStr(Str s, Bool checked := true)

Lookup by string name or symbol

g

Source

const static Key g := ...

h

Source

const static Key h := ...

hash

Source

virtual override Int hash()

Hash code is based on name.

home

Source

const static Key home := ...

i

Source

const static Key i := ...

insert

Source

const static Key insert := ...

isModifier

Source

Bool isModifier()

Is this one of the modifier keys alt, shift, ctrl, meta

j

Source

const static Key j := ...

k

Source

const static Key k := ...

l

Source

const static Key l := ...

left

Source

const static Key left := ...

m

Source

const static Key m := ...

meta

Source

const static Key meta := ...

n

Source

const static Key n := ...

name

Source

const Str name

Key name

num0

Source

const static Key num0 := ...

num1

Source

const static Key num1 := ...

num2

Source

const static Key num2 := ...

num3

Source

const static Key num3 := ...

num4

Source

const static Key num4 := ...

num5

Source

const static Key num5 := ...

num6

Source

const static Key num6 := ...

num7

Source

const static Key num7 := ...

num8

Source

const static Key num8 := ...

num9

Source

const static Key num9 := ...

o

Source

const static Key o := ...

openBracket

Source

const static Key openBracket := ...

p

Source

const static Key p := ...

pageDown

Source

const static Key pageDown := ...

pageUp

Source

const static Key pageUp := ...

period

Source

const static Key period := ...

q

Source

const static Key q := ...

quote

Source

const static Key quote := ...

r

Source

const static Key r := ...

Source

const static Key right := ...

s

Source

const static Key s := ...

semicolon

Source

const static Key semicolon := ...

shift

Source

const static Key shift := ...

slash

Source

const static Key slash := ...

space

Source

const static Key space := ...

symbol

Source

const Str? symbol

If this a char symbol such as OpenBracket this is its symbol "[". The arrow keys will return their respective Unicode arrow char.

t

Source

const static Key t := ...

tab

Source

const static Key tab := ...

toStr

Source

virtual override Str toStr()

Return name.

u

Source

const static Key u := ...

up

Source

const static Key up := ...

v

Source

const static Key v := ...

w

Source

const static Key w := ...

x

Source

const static Key x := ...

y

Source

const static Key y := ...

z

Source

const static Key z := ...