org.jsurveylib.model.question
Class FileChooserQuestion

java.lang.Object
  extended by org.jsurveylib.model.question.Question
      extended by org.jsurveylib.model.question.FreeTextQuestion
          extended by org.jsurveylib.model.question.FileChooserQuestion
All Implemented Interfaces:
Template, SurveyElement, Visitable

public class FileChooserQuestion
extends FreeTextQuestion

FOR INTERNAL USE ONLY. Note that the answer is the absolute path to the file in the format of the OS.

Copyright (c)2007, Daniel Kaplan

Since:
7.10.4
Author:
Daniel Kaplan

Method Summary
 void accept(Visitor visitor)
           
 java.util.List<FileFilter> getFileFilters()
           
 java.lang.String getOpenTo()
           
 boolean isAllFilesFilterEnabled()
           
 boolean isOpenDialog()
           
 boolean isSaveDialog()
           
 void setOpenDialog(java.lang.Boolean openDialog)
           
 void setOpenTo(java.lang.String openTo)
           
 
Methods inherited from class org.jsurveylib.model.question.FreeTextQuestion
getAnswer, isAnswered, setAnswer
 
Methods inherited from class org.jsurveylib.model.question.Question
addAnswerListener, addEnableListener, addValidationListener, addVisibilityListener, fireAnswerChanged, fireAnswerChanged, getCurrentValidationMessage, getId, getLabel, getOnAnswerChanged, isAnswerable, isEnabled, isMandatory, isValid, isVisible, populateTemplate, removeAnswerListener, removeEnableListener, removeValidationListener, removeVisibilityListener, setEnabled, setLabel, setLabel, setMandatory, setOnAnswerChanged, setValid, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isAllFilesFilterEnabled

public boolean isAllFilesFilterEnabled()

getFileFilters

public java.util.List<FileFilter> getFileFilters()

accept

public void accept(Visitor visitor)

isOpenDialog

public boolean isOpenDialog()

isSaveDialog

public boolean isSaveDialog()

setOpenDialog

public void setOpenDialog(java.lang.Boolean openDialog)

getOpenTo

public java.lang.String getOpenTo()

setOpenTo

public void setOpenTo(java.lang.String openTo)