javax.swing
Class JMenuItem.MenuItemFocusListener

java.lang.Object
  extended byjavax.swing.JMenuItem.MenuItemFocusListener
All Implemented Interfaces:
EventListener, FocusListener, Serializable
Enclosing class:
JMenuItem

private static class JMenuItem.MenuItemFocusListener
extends Object
implements FocusListener, Serializable


Constructor Summary
private JMenuItem.MenuItemFocusListener()
           
 
Method Summary
 void focusGained(FocusEvent event)
          Invoked when a component gains the keyboard focus.
 void focusLost(FocusEvent event)
          Invoked when a component loses the keyboard focus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMenuItem.MenuItemFocusListener

private JMenuItem.MenuItemFocusListener()
Method Detail

focusGained

public void focusGained(FocusEvent event)
Description copied from interface: FocusListener
Invoked when a component gains the keyboard focus.

Specified by:
focusGained in interface FocusListener

focusLost

public void focusLost(FocusEvent event)
Description copied from interface: FocusListener
Invoked when a component loses the keyboard focus.

Specified by:
focusLost in interface FocusListener