de.schlichtherle.swing
Class AbstractComboBoxBrowser.ComboBoxEditorProxy
java.lang.Object
javax.swing.plaf.basic.BasicComboBoxEditor
de.schlichtherle.swing.AbstractComboBoxBrowser.ComboBoxEditorProxy
- All Implemented Interfaces:
- FocusListener, EventListener, ComboBoxEditor
- Enclosing class:
- AbstractComboBoxBrowser
private final class AbstractComboBoxBrowser.ComboBoxEditorProxy
- extends BasicComboBoxEditor
This proxy controls access to the real ComboBoxEditor
installed by the client application or the pluggable look and feel.
It is used to lock out mutual recursion caused by modifications to
the list model in the JComboBox.
Note that there is a slight chance that the introduction of this proxy
breaks the look and feel if it does instanceof tests for
a particular class, but I'm not aware of any look and feel which is
actually affected.
In order to reduce this risk, this class is extended from
BasicComboBoxEditor, although it overrides all methods which
are defined in the ComboBoxEditor interface.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comboBoxEditor
private final ComboBoxEditor comboBoxEditor
AbstractComboBoxBrowser.ComboBoxEditorProxy
public AbstractComboBoxBrowser.ComboBoxEditorProxy(ComboBoxEditor comboBoxEditor)
getEditor
public ComboBoxEditor getEditor()
getEditorComponent
public Component getEditorComponent()
- Specified by:
getEditorComponent in interface ComboBoxEditor- Overrides:
getEditorComponent in class BasicComboBoxEditor
setItem
public void setItem(Object item)
- Specified by:
setItem in interface ComboBoxEditor- Overrides:
setItem in class BasicComboBoxEditor
getItem
public Object getItem()
- Specified by:
getItem in interface ComboBoxEditor- Overrides:
getItem in class BasicComboBoxEditor
selectAll
public void selectAll()
- Specified by:
selectAll in interface ComboBoxEditor- Overrides:
selectAll in class BasicComboBoxEditor
addActionListener
public void addActionListener(ActionListener actionListener)
- Specified by:
addActionListener in interface ComboBoxEditor- Overrides:
addActionListener in class BasicComboBoxEditor
removeActionListener
public void removeActionListener(ActionListener actionListener)
- Specified by:
removeActionListener in interface ComboBoxEditor- Overrides:
removeActionListener in class BasicComboBoxEditor
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.