edu.upenn.cis.pdtb.graphics
Class FontSizeComboBoxModel

java.lang.Object
  extended byedu.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

Constructor Summary
FontSizeComboBoxModel()
          Creates a new instance of FileNoComboBoxModel
 
Method Summary
 void addListDataListener(javax.swing.event.ListDataListener listDataListener)
           
 java.lang.Object getElementAt(int param)
           
 java.lang.Object getSelectedItem()
           
 int getSize()
           
 void removeListDataListener(javax.swing.event.ListDataListener listDataListener)
           
 void setSelectedItem(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontSizeComboBoxModel

public FontSizeComboBoxModel()
Creates a new instance of FileNoComboBoxModel

Method Detail

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