com.jgoodies.looks.common
Class MenuSelectionProcessor

java.lang.Object
  extended by com.jgoodies.looks.common.MenuSelectionProcessor
All Implemented Interfaces:
KeyEventPostProcessor

public final class MenuSelectionProcessor
extends Object
implements KeyEventPostProcessor

Handles the Alt key to select the first menu in the menu bar - if any. Useful to let non-Windows L&fs like Plastic feel more like Windows.

See Also:
WindowsRootPaneUI

Constructor Summary
MenuSelectionProcessor()
           
 
Method Summary
 boolean postProcessKeyEvent(KeyEvent ev)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuSelectionProcessor

public MenuSelectionProcessor()
Method Detail

postProcessKeyEvent

public boolean postProcessKeyEvent(KeyEvent ev)
Specified by:
postProcessKeyEvent in interface KeyEventPostProcessor


Copyright © 2001-2012 JGoodies Karsten Lentzsch. All Rights Reserved.