View Javadoc
1 package com.bonevich.javax.swing.event; 2 3 import javax.swing.event.MenuListener; 4 import javax.swing.event.MenuEvent; 5 6 /*** 7 * Provides an empty implementation of the <code>MenuListener</code> 8 * interface. The methods in this class are empty. This class 9 * exists as convenience for creating listener objects. 10 * <p> 11 * Extend this class to create a <code>MenuEvent</code> listener 12 * and override the methods for the events of interest. (If you 13 * implement the <code>MenuListener</code> interface, you have to 14 * define all of the methods in it. This abstract class defines 15 * null methods for them all, so you can only have to define 16 * methods for events you care about.) 17 * 18 * @see MenuListener 19 * @author Jeffrey D. Bonevich <bonevich@telocity.com> 20 */ 21 public class MenuAdapter implements MenuListener 22 { 23 public void menuSelected(MenuEvent e) {} 24 public void menuDeselected(MenuEvent e) {} 25 public void menuCanceled(MenuEvent e) {} 26 }

This page was automatically generated by Maven