public final class WindowsPopupMenuUI
extends com.sun.java.swing.plaf.windows.WindowsPopupMenuUI
PopMenuUI
.
It differs from the superclass in that it provides an option to get a
narrow border. You can set a client property
Options.NO_MARGIN_KEY
to indicate that this popup menu
has a border without margin. That is useful in the special case
where the popup contains only a single component, for example
a JScrollPane.Options.NO_MARGIN_KEY
Constructor and Description |
---|
WindowsPopupMenuUI() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b) |
void |
installDefaults() |
void |
installListeners() |
protected void |
uninstallListeners() |
installKeyboardActions, installUI, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
public void installDefaults()
installDefaults
in class javax.swing.plaf.basic.BasicPopupMenuUI
public void installListeners()
installListeners
in class com.sun.java.swing.plaf.windows.WindowsPopupMenuUI
protected void uninstallListeners()
uninstallListeners
in class javax.swing.plaf.basic.BasicPopupMenuUI
Copyright © 2001-2009 JGoodies Karsten Lentzsch. All Rights Reserved.