edu.upenn.cis.pdtb.graphics
Class FontSizeComboBoxModel
java.lang.Object
edu.upenn.cis.pdtb.graphics.FontSizeComboBoxModel
- All Implemented Interfaces:
- javax.swing.ComboBoxModel, javax.swing.ListModel
- public class FontSizeComboBoxModel
- extends java.lang.Object
- implements javax.swing.ComboBoxModel
ComboBoxModel representing the files that are present in a given section.
The section number is obtained by setting this as a listener on the
combo box for section numbers.
- Author:
- nikhild
- See Also:
SecNoComboBoxModel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontSizeComboBoxModel
public FontSizeComboBoxModel()
- Creates a new instance of FileNoComboBoxModel
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener listDataListener)
- Specified by:
addListDataListener in interface javax.swing.ListModel
getElementAt
public java.lang.Object getElementAt(int param)
- Specified by:
getElementAt in interface javax.swing.ListModel
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem in interface javax.swing.ComboBoxModel
getSize
public int getSize()
- Specified by:
getSize in interface javax.swing.ListModel
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener listDataListener)
- Specified by:
removeListDataListener in interface javax.swing.ListModel
setSelectedItem
public void setSelectedItem(java.lang.Object obj)
- Specified by:
setSelectedItem in interface javax.swing.ComboBoxModel