org.springframework.richclient.list
Class LabeledEnumComboBoxEditor
java.lang.Object
org.springframework.richclient.list.LabeledEnumComboBoxEditor
- All Implemented Interfaces:
- ComboBoxEditor
public class LabeledEnumComboBoxEditor
- extends Object
- implements ComboBoxEditor
ComboBoxEditor
that wraps another editor, but performs
conversion between CodedEnum
s and String
s.
It wraps another ComboBoxEditor
to avoid visual
differences between the default editor and this editor.
- Author:
- peter.de.bruycker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabeledEnumComboBoxEditor
public LabeledEnumComboBoxEditor(MessageSource messageSource,
ComboBoxEditor editor)
- Constructs a new
CodedEnumComboBoxEditor
instance.
- Parameters:
messageSource
- the MessageSource
to use for
conversioneditor
- the ComboBoxEditor
to use internally
selectAll
public void selectAll()
- Specified by:
selectAll
in interface ComboBoxEditor
- See Also:
ComboBoxEditor.selectAll()
getEditorComponent
public Component getEditorComponent()
- Specified by:
getEditorComponent
in interface ComboBoxEditor
- See Also:
ComboBoxEditor.getEditorComponent()
addActionListener
public void addActionListener(ActionListener l)
- Specified by:
addActionListener
in interface ComboBoxEditor
- See Also:
ComboBoxEditor.addActionListener(java.awt.event.ActionListener)
removeActionListener
public void removeActionListener(ActionListener l)
- Specified by:
removeActionListener
in interface ComboBoxEditor
- See Also:
ComboBoxEditor.removeActionListener(java.awt.event.ActionListener)
getItem
public Object getItem()
- Specified by:
getItem
in interface ComboBoxEditor
- See Also:
ComboBoxEditor.getItem()
setItem
public void setItem(Object anObject)
- Specified by:
setItem
in interface ComboBoxEditor
- See Also:
ComboBoxEditor.setItem(java.lang.Object)
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.