info.rolandkrueger.roklib.ui.swing.rapidsuggest
Class SuggestionComboBox.SuggestionComboBoxEditor

java.lang.Object
  extended by info.rolandkrueger.roklib.ui.swing.rapidsuggest.SuggestionComboBox.SuggestionComboBoxEditor
All Implemented Interfaces:
ComboBoxEditor
Enclosing class:
SuggestionComboBox

private class SuggestionComboBox.SuggestionComboBoxEditor
extends Object
implements ComboBoxEditor

Editor class vor Suggestion Combo Box.

Author:
Roland Krueger

Field Summary
private  SuggestionComboBox.SuggestionEditorComponent editor
           
 
Constructor Summary
SuggestionComboBox.SuggestionComboBoxEditor(SuggestionComboBox mother)
           
SuggestionComboBox.SuggestionComboBoxEditor(SuggestionComboBox mother, Color highlighterColor)
           
 
Method Summary
 void addActionListener(ActionListener l)
          Delegates the passed ActionListener to the editor component.
 SuggestionComboBox.SuggestionEditorComponent getEditor()
           
 Component getEditorComponent()
          Returns the text field.
 Object getItem()
          Returns the editor component's text.
 void removeActionListener(ActionListener l)
          Removes the passed ActionListener from the editor component.
 void removeHighlights()
           
 void selectAll()
          Selects the entered text.
 void setItem(Object anObject)
          Sets the editor component's text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editor

private SuggestionComboBox.SuggestionEditorComponent editor
Constructor Detail

SuggestionComboBox.SuggestionComboBoxEditor

public SuggestionComboBox.SuggestionComboBoxEditor(SuggestionComboBox mother)

SuggestionComboBox.SuggestionComboBoxEditor

public SuggestionComboBox.SuggestionComboBoxEditor(SuggestionComboBox mother,
                                                   Color highlighterColor)
Method Detail

selectAll

public void selectAll()
Selects the entered text.

Specified by:
selectAll in interface ComboBoxEditor
See Also:
ComboBoxEditor.selectAll()

getEditorComponent

public Component getEditorComponent()
Returns the text field.

Specified by:
getEditorComponent in interface ComboBoxEditor
See Also:
ComboBoxEditor.getEditorComponent()

getEditor

public SuggestionComboBox.SuggestionEditorComponent getEditor()

addActionListener

public void addActionListener(ActionListener l)
Delegates the passed ActionListener to the editor component.

Specified by:
addActionListener in interface ComboBoxEditor
See Also:
ComboBoxEditor.addActionListener(java.awt.event.ActionListener)

removeActionListener

public void removeActionListener(ActionListener l)
Removes the passed ActionListener from the editor component.

Specified by:
removeActionListener in interface ComboBoxEditor
See Also:
ComboBoxEditor.removeActionListener(java.awt.event.ActionListener)

getItem

public Object getItem()
Returns the editor component's text.

Specified by:
getItem in interface ComboBoxEditor
See Also:
ComboBoxEditor.getItem()

setItem

public void setItem(Object anObject)
Sets the editor component's text.

Specified by:
setItem in interface ComboBoxEditor
See Also:
ComboBoxEditor.setItem(java.lang.Object)

removeHighlights

public void removeHighlights()


Copyright © 2007-2011. All Rights Reserved.