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