Class CustomComboBoxEditor

  • All Implemented Interfaces:
    java.awt.event.FocusListener, java.util.EventListener, javax.swing.ComboBoxEditor

    class CustomComboBoxEditor
    extends javax.swing.plaf.basic.BasicComboBoxEditor
    • Nested Class Summary

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

        javax.swing.plaf.basic.BasicComboBoxEditor.UIResource
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.swing.JLabel label  
      private javax.swing.JPanel panel  
      private java.lang.Object selectedItem  
      • Fields inherited from class javax.swing.plaf.basic.BasicComboBoxEditor

        editor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Component getEditorComponent()  
      java.lang.Object getItem()  
      void setItem​(java.lang.Object item)  
      • Methods inherited from class javax.swing.plaf.basic.BasicComboBoxEditor

        addActionListener, createEditorComponent, focusGained, focusLost, removeActionListener, selectAll
      • Methods inherited from class java.lang.Object

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

      • label

        private javax.swing.JLabel label
      • panel

        private javax.swing.JPanel panel
      • selectedItem

        private java.lang.Object selectedItem
    • Constructor Detail

      • CustomComboBoxEditor

        public CustomComboBoxEditor()
    • Method Detail

      • getEditorComponent

        public java.awt.Component getEditorComponent()
        Specified by:
        getEditorComponent in interface javax.swing.ComboBoxEditor
        Overrides:
        getEditorComponent in class javax.swing.plaf.basic.BasicComboBoxEditor
      • getItem

        public java.lang.Object getItem()
        Specified by:
        getItem in interface javax.swing.ComboBoxEditor
        Overrides:
        getItem in class javax.swing.plaf.basic.BasicComboBoxEditor
      • setItem

        public void setItem​(java.lang.Object item)
        Specified by:
        setItem in interface javax.swing.ComboBoxEditor
        Overrides:
        setItem in class javax.swing.plaf.basic.BasicComboBoxEditor