org.jvnet.substance
Class SubstanceFileChooserUI.DirectoryComboBoxModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by org.jvnet.substance.SubstanceFileChooserUI.DirectoryComboBoxModel
All Implemented Interfaces:
Serializable, ComboBoxModel, ListModel
Enclosing class:
SubstanceFileChooserUI

protected class SubstanceFileChooserUI.DirectoryComboBoxModel
extends AbstractListModel
implements ComboBoxModel

Data model for a type-face selection combo-box.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
SubstanceFileChooserUI.DirectoryComboBoxModel()
           
 
Method Summary
 int getDepth(int i)
           
 Object getElementAt(int index)
           
 Object getSelectedItem()
           
 int getSize()
           
 void setSelectedItem(Object selectedDirectory)
           
 
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

SubstanceFileChooserUI.DirectoryComboBoxModel

public SubstanceFileChooserUI.DirectoryComboBoxModel()
Method Detail

getDepth

public int getDepth(int i)

setSelectedItem

public void setSelectedItem(Object selectedDirectory)
Specified by:
setSelectedItem in interface ComboBoxModel

getSelectedItem

public Object getSelectedItem()
Specified by:
getSelectedItem in interface ComboBoxModel

getSize

public int getSize()
Specified by:
getSize in interface ListModel

getElementAt

public Object getElementAt(int index)
Specified by:
getElementAt in interface ListModel