Method getInputMap(int condition)
Return type: javax.swing.InputMap
Member of: javax.swing.JComponent
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 panel.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).remove(ks);
2 getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(
3 getInputMap(WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(
4 vTable.getInputMap(c).put(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0), aIgnore.getName());
5 cFrame.getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).
6 InputMap im = pane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
7 cancel.getInputMap(CButton.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0), A_CANCEL);
8 InputMap im = treBookmarks.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
9 inputMap = component.getInputMap (
10 internalDialog.getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE,0,false), "ESC_CLOSE");
11 InputMap input = explorer.getDocumentsPanel().getInputMap( JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
12 InputMap inputMap = getInputMap(JComponent.WHEN_FOCUSED);
13 cp.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(esc, "_ESCAPE_");
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.