Class MaterialComboBoxUI


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

      Nested Classes 
      Modifier and Type Class Description
      protected class  MaterialComboBoxUI.ArrowButtonComboBox  
      protected class  MaterialComboBoxUI.FocusListenerColor  
      protected class  MaterialComboBoxUI.MaterialComboBoxPopup  
      • 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 
      Modifier and Type Field Description
      protected int arc  
      protected javax.swing.JButton arrowButton  
      protected java.awt.Color background  
      protected javax.swing.border.Border disabledBorder  
      protected MaterialComboBoxUI.FocusListenerColor focusListener  
      • Fields inherited from class javax.swing.plaf.basic.BasicComboBoxUI

        cachedMinimumSize, comboBox, currentValuePane, editor, 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
      protected javax.swing.JButton createArrowButton()  
      protected javax.swing.ComboBoxEditor createEditor()  
      protected java.awt.event.FocusListener createFocusListener()  
      protected javax.swing.plaf.basic.ComboPopup createPopup()  
      protected javax.swing.ListCellRenderer createRenderer()  
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)  
      protected void installDefaults()  
      protected void installListeners()  
      void installUI​(javax.swing.JComponent c)  
      void paint​(java.awt.Graphics g, javax.swing.JComponent c)  
      void paintCurrentValue​(java.awt.Graphics g, java.awt.Rectangle bounds, boolean hasFocus)  
      void unconfigureArrowButton()  
      protected void uninstallListeners()  
      void uninstallUI​(javax.swing.JComponent c)  
      void update​(java.awt.Graphics g, javax.swing.JComponent c)  
      • Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI

        addEditor, configureArrowButton, configureEditor, createItemListener, createKeyListener, createLayoutManager, createListDataListener, createPropertyChangeListener, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, getMinimumSize, getPreferredSize, getSizeForComponent, installComponents, installKeyboardActions, isFocusTraversable, isNavigationKey, isPopupVisible, paintCurrentValueBackground, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureEditor, uninstallComponents, uninstallDefaults, uninstallKeyboardActions
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains
      • Methods inherited from class java.lang.Object

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

      • arrowButton

        protected javax.swing.JButton arrowButton
      • background

        protected java.awt.Color background
      • arc

        protected int arc
      • disabledBorder

        protected javax.swing.border.Border disabledBorder
    • Constructor Detail

      • MaterialComboBoxUI

        public MaterialComboBoxUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.basic.BasicComboBoxUI
      • installDefaults

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

        public void uninstallUI​(javax.swing.JComponent c)
        Overrides:
        uninstallUI in class javax.swing.plaf.basic.BasicComboBoxUI
      • paint

        public void paint​(java.awt.Graphics g,
                          javax.swing.JComponent c)
        Overrides:
        paint 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
      • unconfigureArrowButton

        public void unconfigureArrowButton()
        Overrides:
        unconfigureArrowButton in class javax.swing.plaf.basic.BasicComboBoxUI
      • installListeners

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

        protected void uninstallListeners()
        Overrides:
        uninstallListeners in class javax.swing.plaf.basic.BasicComboBoxUI
      • update

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

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

        protected javax.swing.ListCellRenderer createRenderer()
        Overrides:
        createRenderer in class javax.swing.plaf.basic.BasicComboBoxUI
      • createEditor

        protected javax.swing.ComboBoxEditor createEditor()
        Overrides:
        createEditor in class javax.swing.plaf.basic.BasicComboBoxUI
      • createFocusListener

        protected java.awt.event.FocusListener createFocusListener()
        Overrides:
        createFocusListener in class javax.swing.plaf.basic.BasicComboBoxUI