file
Class FileGroup

java.lang.Object
  extended by file.FileGroup

public class FileGroup
extends java.lang.Object


Constructor Summary
FileGroup(java.io.File dir, java.io.FileFilter fltr)
          new FileGroup(dir, fltr) returns a new FileGroup containing the files in dir that are accepted by fltr.
FileGroup(java.io.File dir, FileType ftyp)
          new FileGroup(dir, ftyp) returns a new FileGroup containing the files in dir of type ftyp.
FileGroup(FileType ftyp)
          new FileGroup(ftyp) returns a new FileGroup containing the files in the current working directory of type ftyp.
 
Method Summary
 java.io.File getFile(int i)
           
 int getFileCount()
           
 int getMaxHeight()
           
 int getMaxWidth()
           
 void refresh()
           
 void setDirectory(java.io.File dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileGroup

public FileGroup(FileType ftyp)
new FileGroup(ftyp) returns a new FileGroup containing the files in the current working directory of type ftyp.


FileGroup

public FileGroup(java.io.File dir,
                 FileType ftyp)
new FileGroup(dir, ftyp) returns a new FileGroup containing the files in dir of type ftyp.


FileGroup

public FileGroup(java.io.File dir,
                 java.io.FileFilter fltr)
new FileGroup(dir, fltr) returns a new FileGroup containing the files in dir that are accepted by fltr.

Method Detail

refresh

public void refresh()

setDirectory

public void setDirectory(java.io.File dir)

getFileCount

public int getFileCount()

getFile

public java.io.File getFile(int i)

getMaxWidth

public int getMaxWidth()

getMaxHeight

public int getMaxHeight()