Class OCLPMComboBoxUI


  • public class OCLPMComboBoxUI
    extends javax.swing.plaf.basic.BasicComboBoxUI
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicComboBoxUI

        javax.swing.plaf.basic.BasicComboBoxUI.ComboBoxLayoutManager, javax.swing.plaf.basic.BasicComboBoxUI.FocusHandler, javax.swing.plaf.basic.BasicComboBoxUI.ItemHandler, javax.swing.plaf.basic.BasicComboBoxUI.KeyHandler, javax.swing.plaf.basic.BasicComboBoxUI.ListDataHandler, javax.swing.plaf.basic.BasicComboBoxUI.PropertyChangeHandler
    • Field Summary

      • Fields inherited from class javax.swing.plaf.basic.BasicComboBoxUI

        arrowButton, cachedMinimumSize, comboBox, currentValuePane, editor, focusListener, hasFocus, isMinimumSizeDirty, itemListener, keyListener, listBox, listDataListener, padding, popup, popupKeyListener, popupMouseListener, popupMouseMotionListener, propertyChangeListener, squareButton
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configureArrowButton()  
      protected void configureEditor()  
      protected javax.swing.JButton createArrowButton()  
      protected javax.swing.plaf.basic.ComboPopup createPopup()  
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c, OCLPMColors theme)  
      protected void installDefaults()  
      void paintCurrentValueBackground​(java.awt.Graphics g, java.awt.Rectangle bounds, boolean hasFocus)  
      protected java.awt.Rectangle rectangleForCurrentValue()  
      • Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI

        addEditor, createEditor, createFocusListener, createItemListener, createKeyListener, createLayoutManager, createListDataListener, createPropertyChangeListener, createRenderer, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, getMinimumSize, getPreferredSize, getSizeForComponent, installComponents, installKeyboardActions, installListeners, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, paint, paintCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, unconfigureEditor, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, update
      • Methods inherited from class java.lang.Object

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

      • OCLPMComboBoxUI

        public OCLPMComboBoxUI​(javax.swing.JComboBox c,
                               OCLPMColors theme)
        Parameters:
        c -
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c,
                                                            OCLPMColors theme)
        Parameters:
        c -
        Returns:
      • configureArrowButton

        public void configureArrowButton()
        Overrides:
        configureArrowButton in class javax.swing.plaf.basic.BasicComboBoxUI
        See Also:
        BasicComboBoxUI.configureArrowButton()
      • paintCurrentValueBackground

        public void paintCurrentValueBackground​(java.awt.Graphics g,
                                                java.awt.Rectangle bounds,
                                                boolean hasFocus)
        Overrides:
        paintCurrentValueBackground in class javax.swing.plaf.basic.BasicComboBoxUI
        See Also:
        BasicComboBoxUI.paintCurrentValueBackground(java.awt.Graphics, java.awt.Rectangle, boolean)
      • configureEditor

        protected void configureEditor()
        Overrides:
        configureEditor in class javax.swing.plaf.basic.BasicComboBoxUI
      • createArrowButton

        protected javax.swing.JButton createArrowButton()
        Overrides:
        createArrowButton in class javax.swing.plaf.basic.BasicComboBoxUI
      • createPopup

        protected javax.swing.plaf.basic.ComboPopup createPopup()
        Overrides:
        createPopup in class javax.swing.plaf.basic.BasicComboBoxUI
      • installDefaults

        protected void installDefaults()
        Overrides:
        installDefaults in class javax.swing.plaf.basic.BasicComboBoxUI
      • rectangleForCurrentValue

        protected java.awt.Rectangle rectangleForCurrentValue()
        Overrides:
        rectangleForCurrentValue in class javax.swing.plaf.basic.BasicComboBoxUI