public final class PlasticPopupMenuUI extends BasicPopupMenuUI
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
popupMenu
Constructor and Description |
---|
PlasticPopupMenuUI() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent b) |
void |
installDefaults() |
protected void |
installListeners() |
protected void |
uninstallListeners() |
installKeyboardActions, installUI, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallUI
getPopup
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
public static ComponentUI createUI(JComponent b)
public void installDefaults()
installDefaults
in class BasicPopupMenuUI
protected void installListeners()
installListeners
in class BasicPopupMenuUI
protected void uninstallListeners()
uninstallListeners
in class BasicPopupMenuUI
Copyright © 2020 JGoodies Software GmbH. All rights reserved.