KeyEvent

open class KeyEvent : TBase<T, F> , Serializable, Cloneable, Comparable<T>

Constructors

Link copied to clipboard
constructor()
constructor(type: String, modifiers: Int, windows_key_code: Int, native_key_code: Int, is_system_key: Boolean, character: Short, unmodified_character: Short, focus_on_editable_field: Boolean)
constructor(other: KeyEvent)
Performs a deep copy on other.

Types

Link copied to clipboard
enum _Fields : TFieldIdEnum
The set of fields this struct contains, along with convenience methods for finding and manipulating them.

Properties

Link copied to clipboard
open var character: Short
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val metaDataMap: Map<KeyEvent._Fields, FieldMetaData>
Link copied to clipboard
open var modifiers: Int
Link copied to clipboard
Link copied to clipboard
open var type: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun compareTo(other: KeyEvent): Int
Link copied to clipboard
open fun deepCopy(): KeyEvent
Link copied to clipboard
open fun equals(that: KeyEvent): Boolean
open fun equals(that: Any): Boolean
Link copied to clipboard
open fun fieldForId(fieldId: Int): KeyEvent._Fields
Link copied to clipboard
open fun getCharacter(): Short
Link copied to clipboard
Link copied to clipboard
open fun getModifiers(): Int
Link copied to clipboard
Link copied to clipboard
open fun getType(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isSet(field: KeyEvent._Fields): Boolean
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
Link copied to clipboard
Returns true if field character is set (has been assigned a value) and false otherwise
Link copied to clipboard
Returns true if field focus_on_editable_field is set (has been assigned a value) and false otherwise
Link copied to clipboard
Returns true if field is_system_key is set (has been assigned a value) and false otherwise
Link copied to clipboard
Returns true if field modifiers is set (has been assigned a value) and false otherwise
Link copied to clipboard
Returns true if field native_key_code is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetType(): Boolean
Returns true if field type is set (has been assigned a value) and false otherwise
Link copied to clipboard
Returns true if field unmodified_character is set (has been assigned a value) and false otherwise
Link copied to clipboard
Returns true if field windows_key_code is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun read(iprot: TProtocol)
Link copied to clipboard
open fun setCharacter(character: Short): KeyEvent
Link copied to clipboard
open fun setCharacterIsSet(value: Boolean)
Link copied to clipboard
open fun setFieldValue(field: KeyEvent._Fields, value: Any)
Link copied to clipboard
open fun setFocus_on_editable_field(focus_on_editable_field: Boolean): KeyEvent
Link copied to clipboard
Link copied to clipboard
open fun setIs_system_key(is_system_key: Boolean): KeyEvent
Link copied to clipboard
Link copied to clipboard
open fun setModifiers(modifiers: Int): KeyEvent
Link copied to clipboard
open fun setModifiersIsSet(value: Boolean)
Link copied to clipboard
open fun setNative_key_code(native_key_code: Int): KeyEvent
Link copied to clipboard
Link copied to clipboard
open fun setType(type: String): KeyEvent
Link copied to clipboard
open fun setTypeIsSet(value: Boolean)
Link copied to clipboard
open fun setUnmodified_character(unmodified_character: Short): KeyEvent
Link copied to clipboard
Link copied to clipboard
open fun setWindows_key_code(windows_key_code: Int): KeyEvent
Link copied to clipboard
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun unsetCharacter()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun unsetModifiers()
Link copied to clipboard
Link copied to clipboard
open fun unsetType()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun validate()
Link copied to clipboard
open fun write(oprot: TProtocol)