org.openbp.swing.plaf.sky
Class SkyPopupMenuUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PopupMenuUI
javax.swing.plaf.basic.BasicPopupMenuUI
org.openbp.swing.plaf.sky.SkyPopupMenuUI
public class SkyPopupMenuUI
- extends javax.swing.plaf.basic.BasicPopupMenuUI
This is the sky look and feel of e JPopipMenu
- Author:
- Jens Ferchland
| Fields inherited from class javax.swing.plaf.basic.BasicPopupMenuUI |
popupMenu |
|
Method Summary |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Create a UI. |
void |
installUI(javax.swing.JComponent c)
Installs the UI on the Component. |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent comp)
Paint the popupmenu. |
protected void |
updateBackground()
Updates the background for transparency effect. |
| Methods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI |
installDefaults, installKeyboardActions, installListeners, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, 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, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SkyPopupMenuUI
public SkyPopupMenuUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
- Create a UI.
- Parameters:
c - a JComponent value
- Returns:
- a
ComponentUI value
updateBackground
protected void updateBackground()
- Updates the background for transparency effect.
installUI
public void installUI(javax.swing.JComponent c)
- Installs the UI on the Component.
- Overrides:
installUI in class javax.swing.plaf.basic.BasicPopupMenuUI
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent comp)
- Paint the popupmenu.
See javax.swing.plaf.ComponentUI#paint(Graphics, JComponent)
- Overrides:
paint in class javax.swing.plaf.ComponentUI
Copyright © 2011. All Rights Reserved.