KeyCodeCombination

class KeyCodeCombination(val delegate: KeyCodeCombination) extends KeyCombination with SFXDelegate[KeyCodeCombination]
Companion
object
trait SFXDelegate[KeyCodeCombination]
class Object
trait Matchable
class Any

Value members

Constructors

def this(code: KeyCode, modifiers: Modifier*)

Constructs a KeyCodeCombination for the specified main key and with the specified list of modifiers.

Constructs a KeyCodeCombination for the specified main key and with the specified list of modifiers.

def this(code: KeyCode, shift: ModifierValue, control: ModifierValue, alt: ModifierValue, meta: ModifierValue, shortcut: ModifierValue)

Constructs a KeyCodeCombination for the specified main key and with an explicit specification of all modifier keys.

Constructs a KeyCodeCombination for the specified main key and with an explicit specification of all modifier keys.

Concrete methods

Gets the key code associated with this key combination.

Gets the key code associated with this key combination.

Inherited methods

def `match`(event: KeyEvent): Boolean

Tests whether this key combination matches the combination in the given KeyEvent.

Tests whether this key combination matches the combination in the given KeyEvent.

Inherited from
KeyCombination

The state of the alt key in this key combination.

The state of the alt key in this key combination.

Inherited from
KeyCombination

The state of the control key in this key combination.

The state of the control key in this key combination.

Inherited from
KeyCombination
def displayText: String

Returns a string representation of this KeyCombination that is suitable for display in a user interface (for example, beside a menu item).

Returns a string representation of this KeyCombination that is suitable for display in a user interface (for example, beside a menu item).

Returns

A string representation of this KeyCombination, suitable for display in a user interface.

Inherited from
KeyCombination
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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate

The state of the meta key in this key combination.

The state of the meta key in this key combination.

Inherited from
KeyCombination
def name: String

Returns a string representation of this KeyCombination.

Returns a string representation of this KeyCombination.

Inherited from
KeyCombination

The state of the shift key in this key combination.

The state of the shift key in this key combination.

Inherited from
KeyCombination

The state of the shortcut key in this key combination.

The state of the shortcut key in this key combination.

Inherited from
KeyCombination
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: KeyCodeCombination