const class dom::Key

sys::Obj
  dom::Key

@Js
@Serializable { simple=true }

Source

Key models a key code

a

const static Key a := ...

Source

alt

const static Key alt := ...

Source

b

const static Key b := ...

Source

backSlash

const static Key backSlash := ...

Source

backspace

const static Key backspace := ...

Source

backtick

const static Key backtick := ...

Source

c

const static Key c := ...

Source

capsLock

const static Key capsLock := ...

Source

closeBracket

const static Key closeBracket := ...

Source

code

const Int code

Source

Key code

comma

const static Key comma := ...

Source

ctrl

const static Key ctrl := ...

Source

d

const static Key d := ...

Source

dash

const static Key dash := ...

Source

delete

const static Key delete := ...

Source

down

const static Key down := ...

Source

e

const static Key e := ...

Source

end

const static Key end := ...

Source

enter

const static Key enter := ...

Source

equal

const static Key equal := ...

Source

equals

virtual override Bool equals(Obj? that)

Source

Equality is based on name.

esc

const static Key esc := ...

Source

f

const static Key f := ...

Source

f1

const static Key f1 := ...

Source

f10

const static Key f10 := ...

Source

f2

const static Key f2 := ...

Source

f3

const static Key f3 := ...

Source

f4

const static Key f4 := ...

Source

f5

const static Key f5 := ...

Source

f6

const static Key f6 := ...

Source

f7

const static Key f7 := ...

Source

f8

const static Key f8 := ...

Source

f9

const static Key f9 := ...

Source

fromCode

static Key fromCode(Int code)

Source

Lookup by key code.

fromStr

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

Source

Lookup by string name or symbol

g

const static Key g := ...

Source

h

const static Key h := ...

Source

hash

virtual override Int hash()

Source

Hash code is based on name.

home

const static Key home := ...

Source

i

const static Key i := ...

Source

insert

const static Key insert := ...

Source

isModifier

Bool isModifier()

Source

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

j

const static Key j := ...

Source

k

const static Key k := ...

Source

l

const static Key l := ...

Source

left

const static Key left := ...

Source

m

const static Key m := ...

Source

meta

const static Key meta := ...

Source

n

const static Key n := ...

Source

name

const Str name

Source

Key name

num0

const static Key num0 := ...

Source

num1

const static Key num1 := ...

Source

num2

const static Key num2 := ...

Source

num3

const static Key num3 := ...

Source

num4

const static Key num4 := ...

Source

num5

const static Key num5 := ...

Source

num6

const static Key num6 := ...

Source

num7

const static Key num7 := ...

Source

num8

const static Key num8 := ...

Source

num9

const static Key num9 := ...

Source

o

const static Key o := ...

Source

openBracket

const static Key openBracket := ...

Source

p

const static Key p := ...

Source

pageDown

const static Key pageDown := ...

Source

pageUp

const static Key pageUp := ...

Source

period

const static Key period := ...

Source

q

const static Key q := ...

Source

quote

const static Key quote := ...

Source

r

const static Key r := ...

Source

const static Key right := ...

Source

s

const static Key s := ...

Source

semicolon

const static Key semicolon := ...

Source

shift

const static Key shift := ...

Source

slash

const static Key slash := ...

Source

space

const static Key space := ...

Source

symbol

const Str? symbol

Source

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

t

const static Key t := ...

Source

tab

const static Key tab := ...

Source

toStr

virtual override Str toStr()

Source

Return name.

u

const static Key u := ...

Source

up

const static Key up := ...

Source

v

const static Key v := ...

Source

w

const static Key w := ...

Source

x

const static Key x := ...

Source

y

const static Key y := ...

Source

z

const static Key z := ...

Source