public static class SwingFactories.FontListComboBoxModel extends AbstractListModel implements ComboBoxModel
ComboBoxModel
and AbstractListModel
containing
default font known by the system.listenerList
Constructor and Description |
---|
FontListComboBoxModel()
Constructs and initialize a
FontListComboBoxModel . |
Modifier and Type | Method and Description |
---|---|
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
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 FontListComboBoxModel()
FontListComboBoxModel
.public void setSelectedItem(Object anObject)
setSelectedItem
in interface ComboBoxModel
public Object getSelectedItem()
getSelectedItem
in interface ComboBoxModel
public Object getElementAt(int index)
getElementAt
in interface ListModel
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.