public static class

WindowsComboBoxUI.WindowsComboBoxEditor

extends BasicComboBoxEditor.UIResource
java.lang.Object
   ↳ javax.swing.plaf.basic.BasicComboBoxEditor
     ↳ javax.swing.plaf.basic.BasicComboBoxEditor.UIResource
       ↳ com.sun.java.swing.plaf.windows.WindowsComboBoxUI.WindowsComboBoxEditor

Class Overview

Subclassed to highlight selected item in an editable combo box.

Summary

[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicComboBoxEditor
Public Constructors
WindowsComboBoxUI.WindowsComboBoxEditor()
Public Methods
void setItem(Object item)
Sets the item that should be edited.
Protected Methods
JTextField createEditorComponent()
Creates the internal editor component.
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicComboBoxEditor
From class java.lang.Object
From interface java.awt.event.FocusListener
From interface javax.swing.ComboBoxEditor

Public Constructors

public WindowsComboBoxUI.WindowsComboBoxEditor ()

Public Methods

public void setItem (Object item)

Sets the item that should be edited.

Parameters
item the displayed value of the editor

Protected Methods

protected JTextField createEditorComponent ()

Creates the internal editor component. Override this to provide a custom implementation.

Returns
  • a new editor component