org.springframework.richclient.list
Class FilteredComboBoxListModel
java.lang.Object
javax.swing.AbstractListModel
org.springframework.richclient.list.AbstractFilteredListModel
org.springframework.richclient.list.FilteredListModel
org.springframework.richclient.list.FilteredComboBoxListModel
- All Implemented Interfaces:
- Serializable, EventListener, Observer, ComboBoxModel, ListDataListener, ListModel
public class FilteredComboBoxListModel
- extends FilteredListModel
- implements ComboBoxModel
- Author:
- kdonald
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilteredComboBoxListModel
public FilteredComboBoxListModel(ComboBoxModel filteredModel,
Constraint filter)
setFilteredModel
public void setFilteredModel(ListModel model)
- Overrides:
setFilteredModel in class AbstractFilteredListModel
getComboBoxModel
protected ComboBoxModel getComboBoxModel()
onMatchingElement
protected void onMatchingElement(Object element)
- Description copied from class:
FilteredListModel
- Called to notify that an element has matched the filter constraint. This implementation does nothing.
- Overrides:
onMatchingElement in class FilteredListModel
- Parameters:
element - the element which was accepted by the filter
postConstraintApplied
protected void postConstraintApplied()
- Description copied from class:
FilteredListModel
- Called to notify that the constraint was applied to all elements. This implementation does nothing.
- Overrides:
postConstraintApplied in class FilteredListModel
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem in interface ComboBoxModel
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem in interface ComboBoxModel
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.