Class DirectoryParameterImpl

java.lang.Object
com.biglybt.pifimpl.local.ui.config.ParameterImpl
com.biglybt.pifimpl.local.ui.config.DirectoryParameterImpl
All Implemented Interfaces:
ParameterListener, ConfigParameter, DirectoryParameter, EnablerParameter, Parameter, ParameterWithHint

public class DirectoryParameterImpl extends ParameterImpl implements DirectoryParameter
  • Field Details

    • keyDialogTitle

      private String keyDialogTitle
    • keyDialogMessage

      private String keyDialogMessage
    • hintKey

      private String hintKey
  • Constructor Details

    • DirectoryParameterImpl

      public DirectoryParameterImpl(String key, String labelKey)
  • Method Details

    • getValue

      public String getValue()
      Specified by:
      getValue in interface DirectoryParameter
    • getValueObject

      public 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
    • setDialogTitleKey

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

      public String getKeyDialogTitle()
    • setDialogMessageKey

      public void setDialogMessageKey(String key)
    • getKeyDialogMessage

      public String getKeyDialogMessage()
    • setValue

      public void setValue(String str)
      Specified by:
      setValue in interface DirectoryParameter
    • getHintKey

      public 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(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(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