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
public class InfoParameterImpl extends ParameterImpl implements InfoParameter
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
textSelectable
(package private) java.lang.String
value
-
Fields 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 Constructor Description InfoParameterImpl(java.lang.String configKey, java.lang.String labelKey, java.lang.String value)
If configKey != null:
[label][config value]
If configKey == null:
[label][value]
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
java.lang.Object
getValueObject()
Retrieve the parameter's value as an Object.boolean
isTextSelectable()
void
setTextSelectable(boolean selectable)
Whether portions of the text are selectable by the uservoid
setValue(java.lang.String s)
-
Methods inherited from class com.biglybt.pifimpl.local.ui.config.ParameterImpl
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
addListener, addValidator, getConfigKeyName, getGenerateIntermediateEvents, getLabelKey, getLabelText, getMinimumRequiredUserMode, hasBeenSet, isEnabled, isForUIType, isVisible, removeListener, resetToDefault, setAllowedUiTypes, setEnabled, setGenerateIntermediateEvents, setIndent, setLabelKey, setLabelText, setMinimumRequiredUserMode, setVisible
-
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceInfoParameter
-
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 interfaceParameter
- Overrides:
getValueObject
in classParameterImpl
-
setValue
public void setValue(java.lang.String s)
- 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
-
-