Documentation of 'com.jstatcom.io.FileSupportSettings' Java class
FileSupportSettings
com.jstatcom.io

Class FileSupportSettings

  • All Implemented Interfaces:
    SettingsElement


    public final class FileSupportSettings
    extends java.lang.Object
    implements SettingsElement
    Holds information for the FileSupport class about the location of selected files that should be stored between application runs.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      JSCSArray getSelectedFiles()
      Gets the string array with the names of selected files and directories in the followins order: selected text output directory selected data directory selected project filename (without directory) selected project directory
      void setElement()
      Implementations of this method should use the information stored in this SettingsElement to set the state of components at runtime.
      void setSelectedFiles(JSCSArray selectedFiles)
      Sets the JSCSArray with the names of selected files and directories.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • FileSupportSettings_XML

        public static final XmlFormat<FileSupportSettings> FileSupportSettings_XML
        XML format field for (de)serialization.
    • Constructor Detail

      • FileSupportSettings

        public FileSupportSettings()
    • Method Detail

      • setElement

        public void setElement()
        Description copied from interface: SettingsElement
        Implementations of this method should use the information stored in this SettingsElement to set the state of components at runtime. For example, one implementation of this interface, the ProjectTreeNode, adds itself to the ProjectTree when this method is called. Before that, it has been restored from its serialization in an XML file.
        Specified by:
        setElement in interface SettingsElement
      • getSelectedFiles

        public JSCSArray getSelectedFiles()
        Gets the string array with the names of selected files and directories in the followins order:
        1. selected text output directory
        2. selected data directory
        3. selected project filename (without directory)
        4. selected project directory
        Returns:
        4x1 JSCSArray
      • setSelectedFiles

        public void setSelectedFiles(JSCSArray selectedFiles)
        Sets the JSCSArray with the names of selected files and directories.
        Parameters:
        selectedFiles - array with names
        Throws:
        java.lang.IllegalArgumentException - if (selectedFiles == null)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.