JDK-4031095 : Provide API to turn *OFF* Default Key-Traversal (Tab Navigation) code
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1,1.1.3
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95
  • CPU: x86
  • Submitted: 1997-02-08
  • Updated: 2000-10-04
  • Resolved: 2000-10-04
Related Reports
Duplicate :  
Duplicate :  
Description

Name: mc57594			Date: 02/07/97


The default Key-Traversal, or Tab navigation, code is hard to
over-ride.

We need to be able to do our own Keyboard navigation and not
have the default Key navigation occur, currently this must be
done by having one of the KeyListeners "consume" the KeyEvent.

There should be a method call like:

    Window.setNavigationPolicy(NavigationPolicy nav)

That can be used to customize the Navigation policy (for more
than just Tab and Shift Tab also) or set it to a null value
to indicate that none is required.

In other words, externalise the Navigation logic, and allow us
to write our own, and set it in place.


( This would also help with the fact that the current Nav )
( policy is rather broken at the moment - it's rather     )
( random and not consistent across Windows NT/Solaris     )


company  -  Oracle Corporation  , email  -  ###@###.###
======================================================================

Comments
WORK AROUND Name: mc57594 Date: 02/07/97 Consume KeyEvent in one of the KeyListener's. ======================================================================
2004-06-11

EVALUATION See also 4077817. eric.hawkes@eng 1998-02-03 Currently planning to implement this functionality, or equivalent functionality, in the merlin focus enhancements. david.mendenhall@eng 1999-12-14
1998-02-03