KeyCombination

abstract class KeyCombination extends SFXDelegate[KeyCombination]
Companion
object
trait SFXDelegate[KeyCombination]
class Object
trait Matchable
class Any

Value members

Concrete 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.

The state of the alt key in this key combination.

The state of the alt key in this key combination.

The state of the control key in this key combination.

The state of the control key in this key combination.

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.

The state of the meta key in this key combination.

The state of the meta key in this key combination.

def name: String

Returns a string representation of this KeyCombination.

Returns a string representation of this KeyCombination.

The state of the shift key in this key combination.

The state of the shift key in this key combination.

The state of the shortcut key in this key combination.

The state of the shortcut key in this key combination.

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 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
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: KeyCombination