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