Module java.desktop

Class MetalComboBoxUI.MetalComboPopup

    • Constructor Detail

      • MetalComboPopup

        public MetalComboPopup​(JComboBox<Object> cBox)
        Deprecated. 
        Constructs a new instance of MetalComboPopup.
        Parameters:
        cBox - an instance of JComboBox
    • Method Detail

      • delegateFocus

        public void delegateFocus​(MouseEvent e)
        Deprecated. 
        Description copied from class: BasicComboPopup
        This is a utility method that helps event handlers figure out where to send the focus when the popup is brought up. The standard implementation delegates the focus to the editor (if the combo box is editable) or to the JComboBox if it is not editable.
        Overrides:
        delegateFocus in class BasicComboPopup
        Parameters:
        e - a mouse event