Package-level declarations

Functions

Link copied to clipboard
inline operator fun Clipboard.contains(dataFormat: DataFormat): Boolean

Returns true if there is content on this clipboard for this type.

Link copied to clipboard
inline operator fun Clipboard.get(dataFormat: DataFormat): Any?

The content associated with this type, or null if there is none.

Link copied to clipboard
inline fun KeyEvent.is0(): Boolean

Returns true if this key is number softkey or numpad 0.

Link copied to clipboard
inline fun KeyEvent.is1(): Boolean

Returns true if this key is number softkey or numpad 1.

Link copied to clipboard
inline fun KeyEvent.is2(): Boolean

Returns true if this key is number softkey or numpad 2.

Link copied to clipboard
inline fun KeyEvent.is3(): Boolean

Returns true if this key is number softkey or numpad 3.

Link copied to clipboard
inline fun KeyEvent.is4(): Boolean

Returns true if this key is number softkey or numpad 4.

Link copied to clipboard
inline fun KeyEvent.is5(): Boolean

Returns true if this key is number softkey or numpad 5.

Link copied to clipboard
inline fun KeyEvent.is6(): Boolean

Returns true if this key is number softkey or numpad 6.

Link copied to clipboard
inline fun KeyEvent.is7(): Boolean

Returns true if this key is number softkey or numpad 7.

Link copied to clipboard
inline fun KeyEvent.is8(): Boolean

Returns true if this key is number softkey or numpad 8.

Link copied to clipboard
inline fun KeyEvent.is9(): Boolean

Returns true if this key is number softkey or numpad 9.

Link copied to clipboard
inline fun KeyEvent.isDelete(): Boolean

Returns true if this key is delete or backspace.

Link copied to clipboard
inline fun MouseEvent.isDoubleClick(): Boolean

Convenient method to check if mouse event is double click.

Link copied to clipboard
inline fun MouseEvent.isLeftClick(): Boolean

Convenient method to check if mouse event is left click.

Link copied to clipboard
inline fun MouseEvent.isMiddleClick(): Boolean

Convenient method to check if mouse event is middle click.

Link copied to clipboard
inline fun MouseEvent.isRightClick(): Boolean

Convenient method to check if mouse event is right click.

Link copied to clipboard
inline operator fun KeyCode.plus(modifier: KeyCombination.Modifier): KeyCodeCombination
inline operator fun KeyCombination.Modifier.plus(code: KeyCode): KeyCodeCombination

Constructs a combination based on modifier and main code.

inline operator fun KeyCombination.Modifier.plus(character: String): KeyCharacterCombination

Constructs a combination based on modifier and main character.

Link copied to clipboard
inline operator fun Clipboard.set(dataFormat: DataFormat, content: Any): Boolean

Convenient method to put single content to clipboard.