javax.swing.plaf.basic
Class BasicDirectoryModel
java.lang.Object
|
+--javax.swing.AbstractListModel
|
+--javax.swing.plaf.basic.BasicDirectoryModel
- public class BasicDirectoryModel
- extends AbstractListModel
- implements PropertyChangeListener
Basic implementation of a file list.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BasicDirectoryModel
public BasicDirectoryModel(JFileChooser filechooser)
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
- propertyChange in interface PropertyChangeListener
invalidateFileCache
public void invalidateFileCache()
getDirectories
public Vector getDirectories()
getFiles
public Vector getFiles()
validateFileCache
public void validateFileCache()
fireContentsChanged
public void fireContentsChanged()
getSize
public int getSize()
contains
public boolean contains(Object o)
indexOf
public int indexOf(Object o)
getElementAt
public Object getElementAt(int index)
intervalAdded
public void intervalAdded(ListDataEvent e)
intervalRemoved
public void intervalRemoved(ListDataEvent e)
sort
protected void sort(Vector v)
lt
protected boolean lt(File a,
File b)
Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.