org.springframework.richclient.list
Class BeanPropertyValueComboBoxEditor
java.lang.Object
org.springframework.richclient.list.BeanPropertyValueComboBoxEditor
- All Implemented Interfaces:
- ComboBoxEditor
public class BeanPropertyValueComboBoxEditor
- extends Object
- implements ComboBoxEditor
- Author:
- Geoffrey De Smet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanPropertyValueComboBoxEditor
public BeanPropertyValueComboBoxEditor(ComboBoxEditor editor)
- Constructs a new
BeanPropertyValueComboBoxEditor
instance. The toString method is used to render
the items.
- Parameters:
editor - the ComboBoxEditor to use internally
BeanPropertyValueComboBoxEditor
public BeanPropertyValueComboBoxEditor(ComboBoxEditor innerEditor,
String renderedProperty)
- Constructs a new
BeanPropertyValueComboBoxEditor
instance.
- Parameters:
innerEditor - the ComboBoxEditor which is used to render the value of the propertyrenderedProperty - the property used to render the items
BeanPropertyValueComboBoxEditor
public BeanPropertyValueComboBoxEditor(String renderedProperty)
- Should only be used if the innerEditor will be set later
- Parameters:
renderedProperty -
addActionListener
public void addActionListener(ActionListener l)
- Specified by:
addActionListener in interface ComboBoxEditor
- See Also:
ComboBoxEditor.addActionListener(java.awt.event.ActionListener)
getEditorComponent
public Component getEditorComponent()
- Specified by:
getEditorComponent in interface ComboBoxEditor
- See Also:
ComboBoxEditor.getEditorComponent()
getItem
public Object getItem()
- Specified by:
getItem in interface ComboBoxEditor
- See Also:
ComboBoxEditor.getItem()
removeActionListener
public void removeActionListener(ActionListener l)
- Specified by:
removeActionListener in interface ComboBoxEditor
- See Also:
ComboBoxEditor.removeActionListener(java.awt.event.ActionListener)
selectAll
public void selectAll()
- Specified by:
selectAll in interface ComboBoxEditor
- See Also:
ComboBoxEditor.selectAll()
setItem
public void setItem(Object item)
- Specified by:
setItem in interface ComboBoxEditor
- See Also:
ComboBoxEditor.setItem(Object)
getPropertyName
public String getPropertyName()
- Returns:
- the property name
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.