Class FileArgument

java.lang.Object
com.lowagie.toolbox.arguments.AbstractArgument
com.lowagie.toolbox.arguments.FileArgument
All Implemented Interfaces:
ActionListener, PropertyChangeListener, EventListener

public class FileArgument extends AbstractArgument
FileArgument class if the argument is a java.io.File.
Since:
2.1.1 (imported from itexttoolbox project)
  • Field Details

    • filter

      protected FileFilter filter
      a filter to put on the FileChooser.
    • newFile

      protected boolean newFile
      indicates if the argument has to point to a new or an existing file.
    • label

      the label
  • Constructor Details

    • FileArgument

      public FileArgument()
    • FileArgument

      public FileArgument(AbstractTool tool, String name, String description, boolean newFile, FileFilter filter)
      Constructs a FileArgument.
      Parameters:
      tool - the tool that needs this argument
      name - the name of the argument
      description - the description of the argument
      newFile - makes the difference between an Open or Save dialog
      filter - FileFilter
    • FileArgument

      public FileArgument(AbstractTool tool, String name, String description, boolean newFile)
      Constructs a FileArgument.
      Parameters:
      tool - the tool that needs this argument
      name - the name of the argument
      description - the description of the argument
      newFile - makes the difference between an Open or Save dialog
  • Method Details