TrueZIP Swing 7.0

de.schlichtherle.truezip.swing
Class AbstractComboBoxBrowser.DecoratingComboBoxEditor

java.lang.Object
  extended by de.schlichtherle.truezip.swing.AbstractComboBoxBrowser.DecoratingComboBoxEditor
All Implemented Interfaces:
ComboBoxEditor
Enclosing class:
AbstractComboBoxBrowser

private final class AbstractComboBoxBrowser.DecoratingComboBoxEditor
extends Object
implements ComboBoxEditor

This proxy controls access to the real ComboBoxEditor installed by the client application or the pluggable look and feel. It is used to inhibit mutual recursion caused by modifications to the list model in the JComboBox.


Field Summary
private  ComboBoxEditor delegate
           
 
Constructor Summary
AbstractComboBoxBrowser.DecoratingComboBoxEditor(ComboBoxEditor comboBoxEditor)
           
 
Method Summary
 void addActionListener(ActionListener actionListener)
           
(package private)  ComboBoxEditor getEditor()
          Returns the decorated combo box editor.
 Component getEditorComponent()
           
 Object getItem()
           
 void removeActionListener(ActionListener actionListener)
           
 void selectAll()
           
 void setItem(Object item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

private final ComboBoxEditor delegate
Constructor Detail

AbstractComboBoxBrowser.DecoratingComboBoxEditor

AbstractComboBoxBrowser.DecoratingComboBoxEditor(ComboBoxEditor comboBoxEditor)
Method Detail

getEditor

ComboBoxEditor getEditor()
Returns the decorated combo box editor.


getEditorComponent

public Component getEditorComponent()
Specified by:
getEditorComponent in interface ComboBoxEditor

setItem

public void setItem(@CheckForNull
                    Object item)
Specified by:
setItem in interface ComboBoxEditor

getItem

@CheckForNull
public Object getItem()
Specified by:
getItem in interface ComboBoxEditor

selectAll

public void selectAll()
Specified by:
selectAll in interface ComboBoxEditor

addActionListener

public void addActionListener(ActionListener actionListener)
Specified by:
addActionListener in interface ComboBoxEditor

removeActionListener

public void removeActionListener(ActionListener actionListener)
Specified by:
removeActionListener in interface ComboBoxEditor

TrueZIP Swing 7.0

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.