Class FileParameterImpl

    • Field Detail

      • fileNameHint

        private java.lang.String fileNameHint
      • file_extensions

        private java.lang.String[] file_extensions
      • keyDialogTitle

        private java.lang.String keyDialogTitle
      • hintKey

        private java.lang.String hintKey
    • Constructor Detail

      • FileParameterImpl

        public FileParameterImpl​(java.lang.String key,
                                 java.lang.String labelKey,
                                 java.lang.String... file_extensions)
    • Method Detail

      • getValueObject

        public java.lang.Object getValueObject()
        Description copied from interface: Parameter
        Retrieve the parameter's value as an Object. Subclasses will usually have a getValue() that will return a specific type.
        Specified by:
        getValueObject in interface Parameter
        Overrides:
        getValueObject in class ParameterImpl
      • getFileNameHint

        public java.lang.String getFileNameHint()
      • setFileNameHint

        public void setFileNameHint​(java.lang.String fileNameHint)
      • getFileExtensions

        public java.lang.String[] getFileExtensions()
      • setDialogTitleKey

        public void setDialogTitleKey​(java.lang.String key)
        Description copied from interface: FileParameter
        Title of the dialog box shown when user clicks the browse button
        Specified by:
        setDialogTitleKey in interface FileParameter
      • getKeyDialogTitle

        public java.lang.String getKeyDialogTitle()
      • getFileName

        public java.lang.String getFileName()
      • setFileName

        public void setFileName​(java.lang.String filename)
      • getHintKey

        public java.lang.String getHintKey()
        Description copied from interface: ParameterWithHint
        Get the messagebundle key for the Parameter's hint. Hints are usually only displayed when the field is empty.
        Specified by:
        getHintKey in interface ParameterWithHint
      • setHintKey

        public void setHintKey​(java.lang.String hintKey)
        Description copied from interface: ParameterWithHint
        Sets the widget message to a messagebundle key. The message text is displayed as a hint for the user, indicating the purpose of the field. Hints are usually only displayed when the field is empty.
        Specified by:
        setHintKey in interface ParameterWithHint
      • setHintText

        public void setHintText​(java.lang.String text)
        Description copied from interface: ParameterWithHint
        Sets the widget message. The text is displayed as a hint for the user, indicating the purpose of the field. Hints are usually only displayed when the field is empty.
        Specified by:
        setHintText in interface ParameterWithHint