cz.vity.freerapid.swing.models
Class RecentsFilesComboModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultComboBoxModel
          extended by cz.vity.freerapid.swing.models.RecentsFilesComboModel
All Implemented Interfaces:
Serializable, ComboBoxModel, ListModel, MutableComboBoxModel

public final class RecentsFilesComboModel
extends DefaultComboBoxModel

Author:
Vity
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
RecentsFilesComboModel(String keyProperties, boolean autosave)
           
 
Method Summary
 void addElement(Object anObject)
           
 Collection<String> getList()
           
 void removeAllProperties()
           
 void setSelectedItem(Object anObject)
           
 void storeFiles()
           
 
Methods inherited from class javax.swing.DefaultComboBoxModel
getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Constructor Detail

RecentsFilesComboModel

public RecentsFilesComboModel(String keyProperties,
                              boolean autosave)
Method Detail

setSelectedItem

public void setSelectedItem(Object anObject)
Specified by:
setSelectedItem in interface ComboBoxModel
Overrides:
setSelectedItem in class DefaultComboBoxModel

addElement

public final void addElement(Object anObject)
Specified by:
addElement in interface MutableComboBoxModel
Overrides:
addElement in class DefaultComboBoxModel

getList

public final Collection<String> getList()

removeAllProperties

public void removeAllProperties()

storeFiles

public void storeFiles()