API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicDirectoryModel View Source
Author(s)
Jeff Dinkins
Since
Version
%i% %g%
Serial
Hierarchy
 Object
      AbstractListModel
          BasicDirectoryModel
Implements
 PropertyChangeListener
Subclasses
Description
public class BasicDirectoryModel
Basic implementation of a file list.
See also:   
Constructors
public BasicDirectoryModel (JFileChooser filechooser)
Methods
Hide/Show inherited methods
public void addListDataListener (ListDataListener l) [Inherited From AbstractListModel]
  Adds a listener to the list that's notified each time a change to the data model occurs.
public void addPropertyChangeListener (PropertyChangeListener listener)
  Adds a PropertyChangeListener to the listener list.
public boolean contains (Object o)
public void fireContentsChanged ()
protected void fireContentsChanged (Object source, int index0, int index1) [Inherited From AbstractListModel]
  AbstractListModel subclasses must call this method after one or more elements of the list change.
protected void fireIntervalAdded (Object source, int index0, int index1) [Inherited From AbstractListModel]
  AbstractListModel subclasses must call this method after one or more elements are added to the model.
protected void fireIntervalRemoved (Object source, int index0, int index1) [Inherited From AbstractListModel]
  AbstractListModel subclasses must call this method after one or more elements are removed from the model.
protected void firePropertyChange (String propertyName, Object oldValue, Object newValue)
  Support for reporting bound property changes for boolean properties.
public Vector<File> getDirectories ()
public Object getElementAt (int index)
public Vector<File> getFiles ()
public ListDataListener getListDataListeners () [Inherited From AbstractListModel]
  Returns an array of all the list data listeners registered on this AbstractListModel.
public T getListeners (Class< T> listenerType) [Inherited From AbstractListModel]
  Returns an array of all the objects currently registered as FooListeners upon this model.
public PropertyChangeListener getPropertyChangeListeners ()
  Returns an array of all the property change listeners registered on this component.
public int getSize ()
public int indexOf (Object o)
public void intervalAdded (ListDataEvent e)
Obsolete - not used.
public void intervalRemoved (ListDataEvent e)
Obsolete - not used.
public void invalidateFileCache ()
This method is used to interrupt file loading thread.
protected boolean lt (File a, File b)
public void propertyChange (PropertyChangeEvent e) [Specified in PropertyChangeListener]
public void removeListDataListener (ListDataListener l) [Inherited From AbstractListModel]
  Removes a listener from the list that's notified each time a change to the data model occurs.
public void removePropertyChangeListener (PropertyChangeListener listener)
  Removes a PropertyChangeListener from the listener list.
public boolean renameFile (File oldFile, File newFile)
  Renames a file in the underlying file system.
protected void sort (Vector<File> v)
public void validateFileCache ()
Fields
Hide/Show inherited fields
protected EventListenerList listenerList [Inherited From AbstractListModel]
Nested Classes
  BasicDirectoryModel.LoadFilesThread
  BasicDirectoryModel.DoChangeContents
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar