/[classpath]/classpath/java/awt/MenuContainer.java
ViewVC logotype

Diff of /classpath/java/awt/MenuContainer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mark, Tue Jan 22 22:26:58 2002 UTC revision 1.7 by ericb, Wed Mar 20 04:56:08 2002 UTC
# Line 1  Line 1 
1  /* MenuContainer.java -- Container for menu items.  /* MenuContainer.java -- container for menu items
2     Copyright (C) 1999, 2002 Free Software Foundation, Inc.     Copyright (C) 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package java.awt;  package java.awt;
40    
41  /**  /**
42    * This interface is a container for menu components.   * This interface is a container for menu components.
43    *   *
44    * @author Aaron M. Renn (arenn@urbanophile.com)   * @author Aaron M. Renn <arenn@urbanophile.com>
45    */   * @since 1.0
46     * @status updated to 1.4
47     */
48  public interface MenuContainer  public interface MenuContainer
49  {  {
50      /**
51  /**     * Returns the font in use by this container.
52    * Returns the font in use by this container.     *
53    *     * @return the menu font
54    * @return The font in use by this container.     */
55    */    Font getFont();
56  public abstract Font  
57  getFont();    /**
58       * Removes the specified menu component from the menu.
59  /*************************************************************************/     *
60       * @param component the menu component to remove
61  /**     */
62    * Removes the specified menu component from the menu.    void remove(MenuComponent component);
63    *  
64    * @param component The menu component to remove.    /**
65    */     * Posts an event to the listeners.
66  public abstract void     *
67  remove(MenuComponent component);     * @param event the event to dispatch
68       * @deprecated use {@link MenuComponent#dispatchEvent(AWTEvent)} instead
69  /*************************************************************************/     */
70      boolean postEvent(Event event);
 /**  
   * Posts and event to the listeners.  This is replaced by  
   * <code>dispatchEvent</code>.  
   *  
   * @param event The event to dispatch.  
   *  
   * @deprecated  
   */    
 public abstract boolean  
 postEvent(Event event);  
   
71  } // interface MenuContainer  } // interface MenuContainer

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26