Package com.biglybt.ui.swt.views
Class TorrentOptionsView.downloadStateBooleanParameterAdapter
java.lang.Object
com.biglybt.ui.swt.views.TorrentOptionsView.downloadStateBooleanParameterAdapter
- All Implemented Interfaces:
BooleanSwtParameter.ValueProcessor
,SwtParameterValueProcessor<BooleanSwtParameter,
Boolean>
- Enclosing class:
- TorrentOptionsView
protected class TorrentOptionsView.downloadStateBooleanParameterAdapter
extends Object
implements BooleanSwtParameter.ValueProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the value for Parameter pboolean
setValue
(BooleanSwtParameter p, Boolean value) New value for Parameter p.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.ui.swt.config.BooleanSwtParameter.ValueProcessor
getValue
Methods inherited from interface com.biglybt.ui.swt.config.SwtParameterValueProcessor
dispose, getDefaultValue, isDefaultValue, resetToDefault
-
Constructor Details
-
downloadStateBooleanParameterAdapter
protected downloadStateBooleanParameterAdapter()
-
-
Method Details
-
getValue
Description copied from interface:SwtParameterValueProcessor
Return the value for Parameter p- Specified by:
getValue
in interfaceSwtParameterValueProcessor<BooleanSwtParameter,
Boolean>
-
setValue
Description copied from interface:SwtParameterValueProcessor
New value for Parameter p. Handle things like storing value.- Specified by:
setValue
in interfaceSwtParameterValueProcessor<BooleanSwtParameter,
Boolean> - Returns:
- Whether the value changed from stored value. Returning true will trigger change listeners, and typically refresh UI controls
-