Class DirectoryValueDefinition

    • Field Detail

      • m_FileChooserTitle

        protected String m_FileChooserTitle
        the title of the file chooser dialog.
      • m_UseForwardSlashes

        protected boolean m_UseForwardSlashes
        whether to output forward slashes.
      • m_UseAbsolutePath

        protected boolean m_UseAbsolutePath
        whether to use absolute path rather than placeholders.
    • Constructor Detail

      • DirectoryValueDefinition

        public DirectoryValueDefinition()
    • Method Detail

      • setFileChooserTitle

        public void setFileChooserTitle​(String value)
        Sets the title for the file chooser dialog.
        Parameters:
        value - the title
      • getFileChooserTitle

        public String getFileChooserTitle()
        Returns the title for the file chooser dialog.
        Returns:
        the title
      • fileChooserTitleTipText

        public String fileChooserTitleTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setDefaultValue

        public void setDefaultValue​(PlaceholderDirectory value)
        Sets the default of the value.
        Parameters:
        value - the default
      • getDefaultValue

        public PlaceholderDirectory getDefaultValue()
        Returns the default of the value.
        Returns:
        the default
      • defaultValueTipText

        public String defaultValueTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setUseForwardSlashes

        public void setUseForwardSlashes​(boolean value)
        Sets whether to use forward slashes in the output.
        Specified by:
        setUseForwardSlashes in interface ForwardSlashSupporter
        Parameters:
        value - if true then use forward slashes
      • getUseForwardSlashes

        public boolean getUseForwardSlashes()
        Returns whether to use forward slashes in the output.
        Specified by:
        getUseForwardSlashes in interface ForwardSlashSupporter
        Returns:
        true if forward slashes are used
      • useForwardSlashesTipText

        public String useForwardSlashesTipText()
        Returns the tip text for this property.
        Specified by:
        useForwardSlashesTipText in interface ForwardSlashSupporter
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setUseAbsolutePath

        public void setUseAbsolutePath​(boolean value)
        Sets whether to use absolute paths.
        Specified by:
        setUseAbsolutePath in interface AbsolutePathSupporter
        Parameters:
        value - if true if absolute paths
      • getUseAbsolutePath

        public boolean getUseAbsolutePath()
        Returns whether to use absolute paths.
        Specified by:
        getUseAbsolutePath in interface AbsolutePathSupporter
        Returns:
        true if absolute paths
      • useAbsolutePathTipText

        public String useAbsolutePathTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • headlessInteraction

        public String headlessInteraction()
        Prompts the user to enter a value in headless mode and returns it.
        Specified by:
        headlessInteraction in class AbstractValueDefinition
        Returns:
        the entered value, null if canceled