Package com.jgoodies.looks.plastic
Class PlasticPopupMenuUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PopupMenuUI
javax.swing.plaf.basic.BasicPopupMenuUI
com.jgoodies.looks.plastic.PlasticPopupMenuUI
The JGoodies Plastic look&feel implementation of
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.- Version:
- $Revision: 1.10 $
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
popupMenu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
private void
Installs a border without margin, iff the client propertyOptions.NO_MARGIN_KEY
is set toBoolean.TRUE
.void
protected void
protected void
Methods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
installKeyboardActions, installUI, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallUI
Methods inherited from class javax.swing.plaf.PopupMenuUI
getPopup
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
-
Field Details
-
borderListener
-
-
Constructor Details
-
PlasticPopupMenuUI
public PlasticPopupMenuUI()
-
-
Method Details
-
createUI
-
installDefaults
public void installDefaults()- Overrides:
installDefaults
in classBasicPopupMenuUI
-
installListeners
protected void installListeners()- Overrides:
installListeners
in classBasicPopupMenuUI
-
uninstallListeners
protected void uninstallListeners()- Overrides:
uninstallListeners
in classBasicPopupMenuUI
-
installBorder
private void installBorder()Installs a border without margin, iff the client propertyOptions.NO_MARGIN_KEY
is set toBoolean.TRUE
.
-