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
configKeyFields 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.booleanvoidsetTextSelectable(boolean selectable) Whether portions of the text are selectable by the uservoidMethods 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, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.biglybt.pif.config.ConfigParameter
addConfigParameterListener, removeConfigParameterListenerMethods 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:
getValuein interfaceInfoParameter
-
getValueObject
Description copied from interface:ParameterRetrieve the parameter's value as an Object. Subclasses will usually have a getValue() that will return a specific type.- Specified by:
getValueObjectin interfaceParameter- Overrides:
getValueObjectin classParameterImpl
-
setValue
- Specified by:
setValuein interfaceInfoParameter
-
setTextSelectable
public void setTextSelectable(boolean selectable) Whether portions of the text are selectable by the user- Specified by:
setTextSelectablein interfaceInfoParameter- Since:
- BiglyBT 1.9.0.1
-
isTextSelectable
public boolean isTextSelectable()- Specified by:
isTextSelectablein interfaceInfoParameter- Since:
- BiglyBT 1.9.0.1
-