KeyCharacterCombination

scalafx.scene.input.KeyCharacterCombination
See theKeyCharacterCombination companion object
class KeyCharacterCombination(val delegate: KeyCharacterCombination) extends KeyCombination, SFXDelegate[KeyCharacterCombination]

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[KeyCharacterCombination]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(character: String, 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.

Attributes

def this(character: String, 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.

Attributes

Concrete methods

Gets the key character associated with this key combination.

Gets the key character associated with this key combination.

Attributes

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.

Attributes

Inherited from:
KeyCombination

The state of the alt key in this key combination.

The state of the alt key in this key combination.

Attributes

Inherited from:
KeyCombination

The state of the control key in this key combination.

The state of the control key in this key combination.

Attributes

Inherited from:
KeyCombination

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.

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

The state of the meta key in this key combination.

The state of the meta key in this key combination.

Attributes

Inherited from:
KeyCombination
def name: String

Returns a string representation of this KeyCombination.

Returns a string representation of this KeyCombination.

Attributes

Inherited from:
KeyCombination

The state of the shift key in this key combination.

The state of the shift key in this key combination.

Attributes

Inherited from:
KeyCombination

The state of the shortcut key in this key combination.

The state of the shortcut key in this key combination.

Attributes

Inherited from:
KeyCombination
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: KeyCharacterCombination

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes