| public interface javax.swing ComboBoxModel
|
Java SE 6 |
ListDataModel
and adds the concept of a selected item. The selected item is generally
the item which is visible in the combo box display area.
The selected item may not necessarily be managed by the underlying
ListModel. This disjoint behavior allows for the temporary
storage and retrieval of a selected item in the model.
| version | 1.16 11/17/05 |
| Properties | |||
|---|---|---|---|
| public void | setSelectedItem(Object anItem) Details
Set the selected item. The implementation of this method should notify
all registered ListDataListeners that the contents
have changed.
| ||
| public Object | getSelectedItem() Details
Returns the selected item
| ||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|