Class TorrentOptionsView.downloadStateIntParameterAdapter
java.lang.Object
com.biglybt.ui.swt.views.TorrentOptionsView.downloadStateIntParameterAdapter
- All Implemented Interfaces:
IntSwtParameter.ValueProcessor, SwtParameterValueProcessor<IntSwtParameter, Integer>
- Enclosing class:
TorrentOptionsView
protected class TorrentOptionsView.downloadStateIntParameterAdapter
extends Object
implements IntSwtParameter.ValueProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the value for Parameter pbooleansetValue(IntSwtParameter p, Integer 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 IntSwtParameter.ValueProcessor
getValueMethods inherited from interface SwtParameterValueProcessor
dispose, getDefaultValue, isDefaultValue, resetToDefault
-
Constructor Details
-
downloadStateIntParameterAdapter
protected downloadStateIntParameterAdapter()
-
-
Method Details
-
getValue
Description copied from interface:SwtParameterValueProcessorReturn the value for Parameter p- Specified by:
getValuein interfaceSwtParameterValueProcessor<IntSwtParameter, Integer>
-
setValue
Description copied from interface:SwtParameterValueProcessorNew value for Parameter p. Handle things like storing value.- Specified by:
setValuein interfaceSwtParameterValueProcessor<IntSwtParameter, Integer>- Returns:
- Whether the value changed from stored value. Returning true will trigger change listeners, and typically refresh UI controls
-