plugins.adufour.vars.gui.model
Class FileTypeModel

java.lang.Object
  extended by plugins.adufour.vars.gui.model.FileTypeModel
All Implemented Interfaces:
VarEditorModel<java.io.File>

public class FileTypeModel
extends java.lang.Object
implements VarEditorModel<java.io.File>


Constructor Summary
FileTypeModel(java.lang.String initialPath, FileMode mode, java.io.FileFilter filter, boolean allowHidden)
           
 
Method Summary
 boolean allowHidden()
           
 java.io.File getDefaultValue()
           
 java.io.FileFilter getFilter()
           
 FileMode getMode()
           
 java.lang.String getPath()
           
 boolean isValid(java.io.File value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTypeModel

public FileTypeModel(java.lang.String initialPath,
                     FileMode mode,
                     java.io.FileFilter filter,
                     boolean allowHidden)
Method Detail

isValid

public boolean isValid(java.io.File value)
Specified by:
isValid in interface VarEditorModel<java.io.File>

getDefaultValue

public java.io.File getDefaultValue()
Specified by:
getDefaultValue in interface VarEditorModel<java.io.File>

getFilter

public java.io.FileFilter getFilter()

getMode

public FileMode getMode()

getPath

public java.lang.String getPath()

allowHidden

public boolean allowHidden()