Class FileParameterImpl
java.lang.Object
com.biglybt.pifimpl.local.ui.config.ParameterImpl
com.biglybt.pifimpl.local.ui.config.FileParameterImpl
- All Implemented Interfaces:
ParameterListener
,ConfigParameter
,EnablerParameter
,FileParameter
,Parameter
,ParameterWithHint
-
Field Summary
FieldsFields inherited from class com.biglybt.pifimpl.local.ui.config.ParameterImpl
configKey
Fields inherited from interface com.biglybt.pif.ui.config.Parameter
MODE_ADVANCED, MODE_BEGINNER, MODE_INTERMEDIATE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Get the messagebundle key for the Parameter's hint.getValue()
Retrieve the parameter's value as an Object.void
setDialogTitleKey
(String key) Title of the dialog box shown when user clicks the browse buttonvoid
setFileName
(String filename) void
setFileNameHint
(String fileNameHint) void
setHintKey
(String hintKey) Sets the widget message to a messagebundle key.void
setHintText
(String text) Sets the widget message.Methods inherited from class com.biglybt.pifimpl.local.ui.config.ParameterImpl
addAndFireListener, addConfigParameterListener, addDisabledOnSelection, addDisabledOnSelection, addEnabledOnSelection, addEnabledOnSelection, addImplListener, addListener, addValidator, destroy, fireParameterChanged, getConfigKeyName, getDisabledOnSelectionParameters, getEnabledOnSelectionParameters, getGenerateIntermediateEvents, getGroup, getIndent, getKey, getLabelKey, getLabelText, getMinimumRequiredUserMode, getReferenceID, hasBeenSet, isEnabled, isForUIType, isIndentFancy, isVisible, parameterChanged, refreshControl, removeConfigParameterListener, removeImplListener, removeListener, resetToDefault, search, setAllowedUiTypes, setEnabled, setGenerateIntermediateEvents, setGroup, setIndent, setLabelKey, setLabelText, setMinimumRequiredUserMode, setReferenceID, setVisible, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.pif.config.ConfigParameter
addConfigParameterListener, removeConfigParameterListener
Methods inherited from interface com.biglybt.pif.ui.config.Parameter
addAndFireListener, addListener, addValidator, getConfigKeyName, getGenerateIntermediateEvents, getLabelKey, getLabelText, getMinimumRequiredUserMode, hasBeenSet, isEnabled, isForUIType, isVisible, removeListener, resetToDefault, setAllowedUiTypes, setEnabled, setGenerateIntermediateEvents, setIndent, setLabelKey, setLabelText, setMinimumRequiredUserMode, setVisible
-
Field Details
-
fileNameHint
-
file_extensions
-
keyDialogTitle
-
hintKey
-
-
Constructor Details
-
FileParameterImpl
-
-
Method Details
-
getValue
- Specified by:
getValue
in interfaceFileParameter
-
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 interfaceParameter
- Overrides:
getValueObject
in classParameterImpl
-
getFileNameHint
-
setFileNameHint
-
getFileExtensions
-
setDialogTitleKey
Description copied from interface:FileParameter
Title of the dialog box shown when user clicks the browse button- Specified by:
setDialogTitleKey
in interfaceFileParameter
-
getKeyDialogTitle
-
getFileName
-
setFileName
-
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 interfaceParameterWithHint
-
setHintKey
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 interfaceParameterWithHint
-
setHintText
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 interfaceParameterWithHint
-