Java プラットフォーム 1.2

javax.swing.plaf.basic
クラス BasicDirectoryModel

java.lang.Object
  |
  +--javax.swing.AbstractListModel
        |
        +--javax.swing.plaf.basic.BasicDirectoryModel

public class BasicDirectoryModel
extends AbstractListModel
implements PropertyChangeListener

ファイルリストの Basic 仕様の実装です。

関連項目:
直列化された形式

クラス javax.swing.AbstractListModel から継承したフィールド
listenerList
 
コンストラクタの概要
BasicDirectoryModel(JFileChooser filechooser)
           
 
メソッドの概要
 boolean contains(Object o)
           
 void fireContentsChanged()
           
 Vector getDirectories()
           
 Object getElementAt(int index)
           
 Vector getFiles()
           
 int getSize()
           
 int indexOf(Object o)
           
 void intervalAdded(ListDataEvent e)
           
 void intervalRemoved(ListDataEvent e)
           
 void invalidateFileCache()
           
protected  boolean lt(File a, File b)
           
 void propertyChange(PropertyChangeEvent e)
           
protected  void sort(Vector v)
           
 void validateFileCache()
           
 
クラス javax.swing.AbstractListModel から継承したメソッド
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, removeListDataListener
 
クラス 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)
定義:
インタフェース PropertyChangeListener 内の propertyChange

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)

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.