Package com.biglybt.ui.swt.views
Class TorrentOptionsView.downloadStateFloatParameterAdapter
- java.lang.Object
-
- com.biglybt.ui.swt.views.TorrentOptionsView.downloadStateFloatParameterAdapter
-
- All Implemented Interfaces:
FloatSwtParameter.ValueProcessor
,SwtParameterValueProcessor<FloatSwtParameter,java.lang.Float>
- Enclosing class:
- TorrentOptionsView
protected class TorrentOptionsView.downloadStateFloatParameterAdapter extends java.lang.Object implements FloatSwtParameter.ValueProcessor
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
downloadStateFloatParameterAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Float
getValue(FloatSwtParameter p)
Return the value for Parameter pboolean
setValue(FloatSwtParameter p, java.lang.Float _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.SwtParameterValueProcessor
dispose, getDefaultValue, isDefaultValue, resetToDefault
-
-
-
-
Method Detail
-
getValue
public java.lang.Float getValue(FloatSwtParameter p)
Description copied from interface:SwtParameterValueProcessor
Return the value for Parameter p- Specified by:
getValue
in interfaceSwtParameterValueProcessor<FloatSwtParameter,java.lang.Float>
-
setValue
public boolean setValue(FloatSwtParameter p, java.lang.Float _value)
Description copied from interface:SwtParameterValueProcessor
New value for Parameter p. Handle things like storing value.- Specified by:
setValue
in interfaceSwtParameterValueProcessor<FloatSwtParameter,java.lang.Float>
- Returns:
- Whether the value changed from stored value. Returning true will trigger change listeners, and typically refresh UI controls
-
-