public static class SwingFactories.LnFComboBoxModel extends AbstractListModel implements ComboBoxModel
AbstractListModel
and a ComboBoxModel
allowing
to list the available L&F.listenerList
Modifier and Type | Method and Description |
---|---|
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
String |
getSelectedLnFClassName()
Returns a
String representing the selected L&F. |
int |
getSize() |
void |
setSelectedItem(Object anObject) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
public void setSelectedItem(Object anObject)
setSelectedItem
in interface ComboBoxModel
public Object getSelectedItem()
getSelectedItem
in interface ComboBoxModel
public String getSelectedLnFClassName()
String
representing the selected L&F.public Object getElementAt(int index)
getElementAt
in interface ListModel
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.