Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.jemmy
Interface CharBindingMap

All Known Implementing Classes:
  DefaultCharBindingMap

public interface CharBindingMap

Defines char-to-key binding. The generation of a symbol will, in general, require modifier keys to be pressed prior to pressing a primary key. Classes that implement `CharBindingMap` communicate what modifiers and primary key are required to generate a given symbol.

Author:
  Alexandre Iline (alexandre.iline@sun.com)
See Also:
  `DefaultCharBindingMap`

Method Summary
`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.

Method Detail

### getCharKey

    public int getCharKey(char c)

  Returns the code of the primary key used to type a symbol.
  Parameters:
    `c` - Symbol code.
  Returns:
    a key code.
  See Also:
    `InputEvent`

### getCharModifiers

    public int getCharModifiers(char c)

  Returns the modifiers that should be pressed to type a symbol.
  Parameters:
    `c` - Symbol code.
  Returns:
    a combination of InputEvent MASK fields.
  See Also:
    `InputEvent`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD