Search
Key Methods
 


 Public Methods

  Name Description

clone

Clones this key.

equals

Returns a value indicating whether this instance and a specified Key object represent the same value.

getContent

Gets the key's text content. Some descendant key classes send their content as input to currently focused control; other ones only store their labels in it.

getHeight

Gets the key's height.

getImage

 

getImagePath

Gets relative path to an image that should be displayed inside this key.

getIsLocked

Gets whether a mode associated with a modifier key is enabled.

getLeft

Gets the horizontal position of the key.

getTop

Gets the vertical position of the key.

getWidth

Gets the key's width.

hashCode

Returns a hash code for this Key.

send

Sends this key to the foreground window.

setContent

Sets the key's text content. Some descendant key classes send their content as input to currently focused control; other ones only store their labels in it.

setHeight

Sets the key's height.

setImage

Overloaded.  

setIsLocked

Sets whether a mode associated with a modifier key is enabled.

setLeft

Sets the horizontal position of the key.

setTop

Sets the vertical position of the key.

setWidth

Sets the key's width.

updateKey

Updates the key's labels for current language.

 Protected Methods

  Name Description

copy

Copies the properties of this key to specified one.

 See Also