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 ComponentUIprivate voidInstalls a border without margin, iff the client propertyOptions.NO_MARGIN_KEYis set toBoolean.TRUE.voidprotected voidprotected voidMethods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
installKeyboardActions, installUI, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallUIMethods inherited from class javax.swing.plaf.PopupMenuUI
getPopupMethods 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:
installDefaultsin classBasicPopupMenuUI
-
installListeners
protected void installListeners()- Overrides:
installListenersin classBasicPopupMenuUI
-
uninstallListeners
protected void uninstallListeners()- Overrides:
uninstallListenersin classBasicPopupMenuUI
-
installBorder
private void installBorder()Installs a border without margin, iff the client propertyOptions.NO_MARGIN_KEYis set toBoolean.TRUE.
-