Search
VirtualKeyboard Methods
 


 Public Methods

  Name Description

addVirtualKeyboardListener

Registers listener so that it will receive events when users press keyboard keys.

applyTheme

Overloaded.  

dispose

 

getAltGrLocked

Gets the state of the AltGr key.

getAltLocked

Gets the state of the Alt key.

getAutoFill

Gets whether keyboard layout should be generated automatically depending on the language (e.g. qwerty, azerty, etc layouts).

getAutoReleaseModifierKeys

Gets whether pressing a regular key automatically releases modifier keys such as shift, alt, control etc. (except CapsLock).

getAutoRepeat

Gets whether the component should synthesize keyboard events repeatedly when a virtual key is pressed down, until the key is released.

getCapsLocked

Gets the state of the Caps-lock key.

getControlLocked

Gets the state of the Control key.

getDefaultLayout

Gets the default keyboard layout.

getInputLocale

Gets the current input language.

getKeyTemplate

Gets the appearance of key buttons.

getLayoutsFolder

Gets the folder where layout files are located.

getMode

Gets the layout mode.

getNumLocked

Gets the state of the Num-lock key.

getRepeatDelay

Specifies the initial delay in milliseconds before the component starts repeating key-down events when AutoRepeat is enabled.

getRepeatDownOnly

Gets whether keys repeat only key-down events, with a single key-up generated in the end.

getRepeatRate

Gets the delay in milliseconds between consecutive key-down events synthesized in AutoRepeat mode.

getScrollLocked

Gets the state of the Scroll-lock key.

getShiftLocked

Gets the state of the Shift key.

getStandalone

Gets whether the keyboard is the only content of the application's window.

getTemplateLayout

Gets the keyboard's layout template.

getTheme

Gets the keyboard appearance theme.

loadImeTable

Loads an IME table file for specified locale.

paintComponent

JComponent.paintComponent override.

removeVirtualKeyboardListener

Unregisters listener so that it will no longer receive keyboard events.

sendKey

Sends the specified key input to active window.

setAutoFill

Sets whether keyboard layout should be generated automatically depending on the language (e.g. qwerty, azerty, etc layouts).

setAutoReleaseModifierKeys

Sets whether pressing a regular key automatically releases modifier keys such as shift, alt, control etc. (except CapsLock).

setAutoRepeat

Sets whether the component should synthesize keyboard events repeatedly when a virtual key is pressed down, until the key is released.

setDefaultLayout

Sets the default keyboard layout.

setFont

JComponent.setFont override.

setInputLocale

Sets the current input language.

setKeyTemplate

Sets the appearance of key buttons.

setLayoutsFolder

Sets the folder where layout files are located.

setLicenseKey

Sets the component's license key string, disabling evaluation mode.

setMode

Sets the layout mode.

setRepeatDelay

Specifies the initial delay in milliseconds before the component starts repeating key-down events when AutoRepeat is enabled.

setRepeatDownOnly

Sets whether keys repeat only key-down events, with a single key-up generated in the end.

setRepeatRate

Sets the delay in milliseconds between consecutive key-down events synthesized in AutoRepeat mode.

setStandalone

Sets whether the keyboard is the only content of the application's window.

setTemplateLayout

Sets the keyboard's layout template.

setTheme

Sets the keyboard appearance theme.

unlockKeys

Unlocks all modifier keys.

 See Also