KeyCombination

scalafx.scene.input.KeyCombination
See theKeyCombination companion object
abstract class KeyCombination extends SFXDelegate[KeyCombination]

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[KeyCombination]
class Object
trait Matchable
class Any
Known subtypes

Members list

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.

Attributes

The state of the alt key in this key combination.

The state of the alt key in this key combination.

Attributes

The state of the control key in this key combination.

The state of the control key in this key combination.

Attributes

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

Attributes

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.

Attributes

def name: String

Returns a string representation of this KeyCombination.

Returns a string representation of this KeyCombination.

Attributes

The state of the shift key in this key combination.

The state of the shift key in this key combination.

Attributes

The state of the shortcut key in this key combination.

The state of the shortcut key in this key combination.

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

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: KeyCombination

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes