org.gudy.azureus2.ui.swt.config.generic
Class GenericIntParameter
java.lang.Object
org.gudy.azureus2.ui.swt.config.generic.GenericIntParameter
public class GenericIntParameter
- extends Object
SWT widgets representing an Int Parameter, backed by a GenericParameterAdapter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericIntParameter
public GenericIntParameter(GenericParameterAdapter adapter,
org.eclipse.swt.widgets.Composite composite,
String name)
GenericIntParameter
public GenericIntParameter(GenericParameterAdapter adapter,
org.eclipse.swt.widgets.Composite composite,
String name,
int defaultValue)
- Deprecated.
GenericIntParameter
public GenericIntParameter(GenericParameterAdapter adapter,
org.eclipse.swt.widgets.Composite composite,
String name,
int minValue,
int maxValue)
initialize
public void initialize(GenericParameterAdapter _adapter,
org.eclipse.swt.widgets.Composite composite,
String name)
setMinimumValue
public void setMinimumValue(int value)
setMaximumValue
public void setMaximumValue(int value)
getName
public String getName()
setValue
public void setValue(int value)
setValue
public void setValue(int value,
boolean force_adapter_set)
getValue
public int getValue()
resetToDefault
public void resetToDefault()
refresh
public void refresh()
setLayoutData
public void setLayoutData(Object layoutData)
getControl
public org.eclipse.swt.widgets.Control getControl()
isGeneratingIntermediateEvents
public boolean isGeneratingIntermediateEvents()
setGenerateIntermediateEvents
public void setGenerateIntermediateEvents(boolean generateIntermediateEvents)
disableTimedSave
public void disableTimedSave()
isZeroHidden
public boolean isZeroHidden()
setZeroHidden
public void setZeroHidden(boolean isZeroHidden)