Class RadiancePopupMenuUI


  • public class RadiancePopupMenuUI
    extends javax.swing.plaf.basic.BasicPopupMenuUI
    UI for popup menus in Radiance look and feel.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.awt.event.ContainerListener radianceContainerListener
      Tracks changes to the popup menu and invalidates precomputed text offset.
      private javax.swing.event.PopupMenuListener radiancePopupMenuListener  
      • Fields inherited from class javax.swing.plaf.basic.BasicPopupMenuUI

        popupMenu
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RadiancePopupMenuUI()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent comp)  
      protected void installListeners()  
      void paint​(java.awt.Graphics g, javax.swing.JComponent c)  
      protected void uninstallListeners()  
      • Methods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI

        installDefaults, 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, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • radianceContainerListener

        private java.awt.event.ContainerListener radianceContainerListener
        Tracks changes to the popup menu and invalidates precomputed text offset.
      • radiancePopupMenuListener

        private javax.swing.event.PopupMenuListener radiancePopupMenuListener
    • Constructor Detail

      • RadiancePopupMenuUI

        protected RadiancePopupMenuUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent comp)
      • installListeners

        protected void installListeners()
        Overrides:
        installListeners in class javax.swing.plaf.basic.BasicPopupMenuUI
      • uninstallListeners

        protected void uninstallListeners()
        Overrides:
        uninstallListeners in class javax.swing.plaf.basic.BasicPopupMenuUI
      • paint

        public void paint​(java.awt.Graphics g,
                          javax.swing.JComponent c)
        Overrides:
        paint in class javax.swing.plaf.ComponentUI