Package com._1c.g5.v8.dt.lcore.ui.editor
Class AbstractAltSymbolsKeyListener
- java.lang.Object
-
- com._1c.g5.v8.dt.lcore.ui.editor.AbstractAltSymbolsKeyListener
-
public class AbstractAltSymbolsKeyListener extends Object
Abstract key listener for replace different keys combinations with left alt on Russian keyboard to visible symbol For example,- "leftAlt+7" replace to symbol "&"
- "leftAlt+б" replace to symbol "<"
- etc
-
-
Constructor Summary
Constructors Constructor Description AbstractAltSymbolsKeyListener()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkMask(int stateMask)
Checks that left alt was pressedprotected String
convertChar(char character)
Convert char from Russian keybord that was pressed with left alt to visible symbol
-
-
-
Method Detail
-
checkMask
protected boolean checkMask(int stateMask)
Checks that left alt was pressed- Parameters:
stateMask
- state mask ofKeyEvent
- Returns:
true
if left alt was pressed,false
otherwise
-
convertChar
protected String convertChar(char character)
Convert char from Russian keybord that was pressed with left alt to visible symbol- Parameters:
character
- converting symbol- Returns:
- converted symbol
-
-