org.openide.awt
Class  JPopupMenuUtils
java.lang.Object
  |
  +--org.openide.awt.JPopupMenuUtils
- public class JPopupMenuUtils
- extends Object
  
A class that contains a set of utility classes and methods
 around displaying and positioning popup menus.
 
 Popup menus sometimes need to be repositioned so that they
 don't "fall off" the edges of the screen.
 Some of the menus have items that are added dynamically, that is,
 after the menu is displayed.  These menus are often placed correctly
 for their initial size, but will need to be repositioned as they
 grow.
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JPopupMenuUtils
public JPopupMenuUtils()
dynamicChange
public static void dynamicChange(JPopupMenu popup,
                                 boolean usedToBeContained)
dynamicChangeToSubmenu
public static void dynamicChangeToSubmenu(JPopupMenu popup,
                                          boolean usedToBeContained)
isPopupContained
public static boolean isPopupContained(JPopupMenu popup)
getScreenRect
public static Rectangle getScreenRect()
Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.