KeyCode

scalafx.scene.input.KeyCode
See theKeyCode companion object
sealed abstract class KeyCode(val delegate: KeyCode) extends SFXEnumDelegate[KeyCode]

Attributes

Companion
object
Graph
Supertypes
trait SFXEnumDelegate[KeyCode]
trait SFXDelegate[KeyCode]
class Object
trait Matchable
class Any
Known subtypes
object A
object Accept
object Add
object Again
object AllCandidates
object Alphanumeric
object Alt
object AltGraph
object Ampersand
object Asterisk
object At
object B
object BackQuote
object BackSlash
object BackSpace
object Begin
object Braceleft
object Braceright
object C
object Cancel
object Caps
object ChannelDown
object ChannelUp
object Circumflex
object Clear
object CloseBracket
object CodeInput
object Colon
object ColoredKey0
object ColoredKey1
object ColoredKey2
object ColoredKey3
object Comma
object Command
object Compose
object ContextMenu
object Control
object Convert
object Copy
object Cut
object D
object DeadAbovedot
object DeadAbovering
object DeadAcute
object DeadBreve
object DeadCaron
object DeadCedilla
object DeadDiaeresis
object DeadGrave
object DeadIota
object DeadMacron
object DeadOgonek
object DeadTilde
object Decimal
object Delete
object Digit0
object Digit1
object Digit2
object Digit3
object Digit4
object Digit5
object Digit6
object Digit7
object Digit8
object Digit9
object Divide
object Dollar
object Down
object E
object EjectToggle
object End
object Enter
object Equals
object Escape
object EuroSign
object F
object F1
object F10
object F11
object F12
object F13
object F14
object F15
object F16
object F17
object F18
object F19
object F2
object F20
object F21
object F22
object F23
object F24
object F3
object F4
object F5
object F6
object F7
object F8
object F9
object FastFwd
object Final
object Find
object FullWidth
object G
object GameA
object GameB
object GameC
object GameD
object Greater
object H
object HalfWidth
object Help
object Hiragana
object Home
object I
object Info
object Insert
object J
object JapaneseRoman
object K
object KPDown
object KPLeft
object KPRight
object KPUp
object Kana
object KanaLock
object Kanji
object Katakana
object L
object Left
object Less
object M
object Meta
object Minus
object Modechange
object Multiply
object Mute
object N
object Nonconvert
object NumLock
object NumberSign
object Numpad0
object Numpad1
object Numpad2
object Numpad3
object Numpad4
object Numpad5
object Numpad6
object Numpad7
object Numpad8
object Numpad9
object O
object OpenBracket
object P
object PageDown
object PageUp
object Paste
object Pause
object Period
object Play
object Plus
object Pound
object Power
object Printscreen
object Props
object Q
object Quote
object Quotedbl
object R
object Record
object Rewind
object Right
object S
object ScrollLock
object Semicolon
object Separator
object Shift
object Shortcut
object Slash
object Softkey0
object Softkey1
object Softkey2
object Softkey3
object Softkey4
object Softkey5
object Softkey6
object Softkey7
object Softkey8
object Softkey9
object Space
object Star
object Stop
object Subtract
object T
object Tab
object TrackNext
object TrackPrev
object U
object Undefined
object Underscore
object Undo
object Up
object V
object VolumeDown
object VolumeUp
object W
object Windows
object X
object Y
object Z
Show all

Members list

Value members

Concrete methods

Left, right, up, down keys (including the keypad arrows)

Left, right, up, down keys (including the keypad arrows)

Attributes

All Digit keys (including the keypad digits)

All Digit keys (including the keypad digits)

Attributes

Function keys like F1, F2, etc...

Function keys like F1, F2, etc...

Attributes

All keys on the keypad

All keys on the keypad

Attributes

All keys with letters

All keys with letters

Attributes

All multimedia keys (channel up/down, volume control, etc...)

All multimedia keys (channel up/down, volume control, etc...)

Attributes

Keys that could act as a modifier

Keys that could act as a modifier

Attributes

Navigation keys are arrow keys and Page Down, Page Up, Home, End (including keypad keys)

Navigation keys are arrow keys and Page Down, Page Up, Home, End (including keypad keys)

Attributes

Space, tab and enter

Space, tab and enter

Attributes

def name: String

Gets name of this key code.

Gets name of this key code.

Attributes

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Return the same string value as enum delegate.

Return the same string value as enum delegate.

This is important since we want to be able to look it up using enums valueOf method. Default toString provided by the SFXDelegate prepends "[SFX]"

Attributes

Definition Classes
Inherited from:
SFXEnumDelegate

Concrete fields

override val delegate: KeyCode

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes