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 pbooleansetValue(BooleanSwtParameter p, Boolean 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 BooleanSwtParameter.ValueProcessor
getValueMethods inherited from interface SwtParameterValueProcessor
dispose, getDefaultValue, isDefaultValue, resetToDefault
-
Constructor Details
-
downloadStateBooleanParameterAdapter
protected downloadStateBooleanParameterAdapter()
-
-
Method Details
-
getValue
Description copied from interface:SwtParameterValueProcessorReturn the value for Parameter p- Specified by:
getValuein interfaceSwtParameterValueProcessor<BooleanSwtParameter, Boolean>
-
setValue
Description copied from interface:SwtParameterValueProcessorNew value for Parameter p. Handle things like storing value.- Specified by:
setValuein interfaceSwtParameterValueProcessor<BooleanSwtParameter, Boolean>- Returns:
- Whether the value changed from stored value. Returning true will trigger change listeners, and typically refresh UI controls
-