Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.keyboard
Interface KeyStrokesConstraint

All Known Implementing Classes:
KeyStrokePanel, KeyStrokesConstraintFactory

public interface KeyStrokesConstraint

Defines what key can be used as a shortcut. Each KeyStrokeContext exposes this information which is use in the KeyStrokePanel to limit the user in the choice of the shortcuts.
Since I only expect two kinds of constraints, you should use the KeyStrokesConstraints (a kind of factory) to get one of the two standard constrains.


Method Summary
 boolean isAcceptableKey(KeyStrokes kss, javax.swing.KeyStroke ksNew)
          Returns true if the KeyStroke can be added to the KeyStrokes.

 

Method Detail

isAcceptableKey

boolean isAcceptableKey(KeyStrokes kss,
                        javax.swing.KeyStroke ksNew)
Returns true if the KeyStroke can be added to the KeyStrokes.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.