Search
NumPadKey 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. (Inherited from Key.)

getHeight

Gets the key's height. (Inherited from Key.)

getImage

  (Inherited from Key.)

getImagePath

Gets relative path to an image that should be displayed inside this key. (Inherited from Key.)

getIsLocked

Gets whether a mode associated with a modifier key is enabled. (Inherited from Key.)

getLeft

Gets the horizontal position of the key. (Inherited from Key.)

getNumCase

Gets the key's label in num-lock mode.

getTop

Gets the vertical position of the key. (Inherited from Key.)

getVirtualKey

Gets the key code of this key.

getWidth

Gets the key's width. (Inherited from Key.)

hashCode

Returns a hash code for this NumPadKey.

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. (Inherited from Key.)

setHeight

Sets the key's height. (Inherited from Key.)

setImage

Overloaded.   (Inherited from Key.)

setIsLocked

Sets whether a mode associated with a modifier key is enabled. (Inherited from Key.)

setLeft

Sets the horizontal position of the key. (Inherited from Key.)

setNumCase

Sets the key's label in num-lock mode.

setTop

Sets the vertical position of the key. (Inherited from Key.)

setVirtualKey

Sets the key code of this key.

setWidth

Sets the key's width. (Inherited from Key.)

updateKey

Updates the key's labels for current language. (Inherited from Key.)

 Protected Methods

  Name Description

copy

Copies the properties of this key to specified one. (Inherited from Key.)

 See Also