javax.swing
Class DefaultPopupFactory
java.lang.Object
|
+--javax.swing.DefaultPopupFactory
- All Implemented Interfaces:
- PopupFactory
- public class DefaultPopupFactory
- extends Object
- implements PopupFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPopupFactory
public DefaultPopupFactory()
setDefaultLightWeightPopupEnabled
public static void setDefaultLightWeightPopupEnabled(boolean aFlag)
- Set the default value for the lightWeightPopupEnabled
property.
getDefaultLightWeightPopupEnabled
public static boolean getDefaultLightWeightPopupEnabled()
- Return the default value for the lightWeightPopupEnabled
property.
setLightWeightPopupEnabled
public void setLightWeightPopupEnabled(boolean aFlag)
- Specified by:
setLightWeightPopupEnabled
in interface PopupFactory
isLightWeightPopupEnabled
public boolean isLightWeightPopupEnabled()
- Specified by:
isLightWeightPopupEnabled
in interface PopupFactory
createLightWeightPopup
protected Popup createLightWeightPopup(Component comp,
Component invoker)
createMediumWeightPopup
protected Popup createMediumWeightPopup(Component comp,
Component invoker)
createHeavyWeightPopup
protected Popup createHeavyWeightPopup(Component comp,
Component invoker)
getPopup
public Popup getPopup(Component comp,
Component invoker,
int x,
int y)
- Specified by:
getPopup
in interface PopupFactory
Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.