|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.AbstractListModel
javax.swing.plaf.basic.BasicDirectoryModel
public class BasicDirectoryModel
ÆÄÀÏ ¸®½ºÆ®ÀÇ ±âº» ±¸ÇöÀÔ´Ï´Ù.
ÇÊµå °³¿ä |
---|
Ŭ·¡½º javax.swing. AbstractListModel ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
listenerList |
»ý¼ºÀÚ °³¿ä | |
---|---|
BasicDirectoryModel (JFileChooser filechooser)
|
¸Þ¼µå °³¿ä | |
---|---|
boolean |
contains (Object o)
|
void |
fireContentsChanged ()
|
Vector <File > |
getDirectories ()
|
Object |
getElementAt (int index)
ÁöÁ¤µÈ À妽º·Î ³ªÅ¸³ª´Â °ªÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Vector <File > |
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)
¹Ù¿îµå ÇÁ·ÎÆÛƼÀÇ º¯°æ½Ã¿¡ È£ÃâÇÕ´Ï´Ù. |
boolean |
renameFile (File oldFile,
File newFile)
±âº»ÀÌ µÇ´Â ÆÄÀÏ ½Ã½ºÅÛ³»ÀÇ ÆÄÀϸíÀÇ º¯°æÀ» ÇÕ´Ï´Ù. |
protected void |
sort (Vector <? extends File > v)
|
void |
validateFileCache ()
|
Ŭ·¡½º javax.swing. AbstractListModel ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
addListDataListener,
fireContentsChanged,
fireIntervalAdded,
fireIntervalRemoved,
getListDataListeners,
getListeners,
removeListDataListener |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public BasicDirectoryModel(JFileChooser filechooser)
¸Þ¼µåÀÇ »ó¼¼ |
---|
public void propertyChange(PropertyChangeEvent e)
PropertyChangeListener
񃬣:
PropertyChangeListener
³»ÀÇ propertyChange
e
- À̺¥Æ® ¼Ò½º ¹× º¯°æÇÑ ÇÁ·ÎÆÛƼ¸¦ ±â¼úÇÏ´Â PropertyChangeEvent °´Ã¼public void invalidateFileCache()
public Vector <File > getDirectories()
public Vector <File > getFiles()
public void validateFileCache()
public boolean renameFile(File oldFile, File newFile)
oldFile
- ±âÁ¸ ÆÄÀÏÀ» ³ªÅ¸³»´Â File
°´Ã¼newFile
- Èñ¸ÁÇÏ´Â »õ·Î¿î ÆÄÀϸíÀ» ³ªÅ¸³»´Â File
°´Ã¼
true
, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
public void fireContentsChanged()
public int getSize()
ListModel
񃬣:
ListModel
³»ÀÇ getSize
public boolean contains(Object o)
public int indexOf(Object o)
public Object getElementAt(int index)
ListModel
񃬣:
ListModel
³»ÀÇ getElementAt
index
- ¿ä±¸ÇÏ´Â À妽º
index
°ªpublic void intervalAdded(ListDataEvent e)
public void intervalRemoved(ListDataEvent e)
protected void sort(Vector <? extends File > v)
protected boolean lt(File a, File b)
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.