Class InfoParameterImpl
java.lang.Object
com.biglybt.pifimpl.local.ui.config.ParameterImpl
com.biglybt.pifimpl.local.ui.config.InfoParameterImpl
- All Implemented Interfaces:
ParameterListener
,ConfigParameter
,EnablerParameter
,InfoParameter
,Parameter
-
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
ConstructorsConstructorDescriptionInfoParameterImpl
(String configKey, String labelKey, String value) If configKey != null:
[label][config value]
If configKey == null:
[label][value] -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Retrieve the parameter's value as an Object.boolean
void
setTextSelectable
(boolean selectable) Whether portions of the text are selectable by the uservoid
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
-
value
String value -
textSelectable
private boolean textSelectable
-
-
Constructor Details
-
InfoParameterImpl
If configKey != null:
[label][config value]
If configKey == null:
[label][value]
-
-
Method Details
-
getValue
- Specified by:
getValue
in interfaceInfoParameter
-
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
-
setValue
- Specified by:
setValue
in interfaceInfoParameter
-
setTextSelectable
public void setTextSelectable(boolean selectable) Whether portions of the text are selectable by the user- Specified by:
setTextSelectable
in interfaceInfoParameter
- Since:
- BiglyBT 1.9.0.1
-
isTextSelectable
public boolean isTextSelectable()- Specified by:
isTextSelectable
in interfaceInfoParameter
- Since:
- BiglyBT 1.9.0.1
-