|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.DefaultCharBindingMap
public class DefaultCharBindingMap
Default implementation of CharBindingMap interface.
Provides a mapping for the following symbols:
CharBindingMap
Constructor Summary | |
---|---|
DefaultCharBindingMap()
Constructor. |
Method Summary | |
---|---|
void |
addChar(char c,
int key,
int modifiers)
Adds a char to supported. |
int |
getCharKey(char c)
Returns the code of the primary key used to type a symbol. |
int |
getCharModifiers(char c)
Returns the modifiers that should be pressed to type a symbol. |
int[] |
getKeyAndModifiers(char c)
Returns key + modifiers pair. |
char[] |
getSupportedChars()
Returns an array of all supported chars. |
void |
removeChar(char c)
Removes a char from supported. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCharBindingMap()
Method Detail |
---|
public int getCharKey(char c)
getCharKey
in interface CharBindingMap
c
- Symbol code.
CharBindingMap.getCharKey(char)
,
InputEvent
public int getCharModifiers(char c)
getCharModifiers
in interface CharBindingMap
c
- Symbol code.
CharBindingMap.getCharModifiers(char)
,
InputEvent
public int[] getKeyAndModifiers(char c)
c
- Symbol code.
public char[] getSupportedChars()
public void removeChar(char c)
c
- Symbol code.public void addChar(char c, int key, int modifiers)
c
- Symbol code.key
- key code.modifiers
- a combination of InputEvent MASK fields.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |