org.gudy.azureus2.ui.swt.config.generic
Class GenericIntParameter
java.lang.Object
org.gudy.azureus2.ui.swt.config.generic.GenericIntParameter
public class GenericIntParameter
- extends java.lang.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,
java.lang.String name)
GenericIntParameter
public GenericIntParameter(GenericParameterAdapter adapter,
org.eclipse.swt.widgets.Composite composite,
java.lang.String name,
int defaultValue)
- Deprecated.
GenericIntParameter
public GenericIntParameter(GenericParameterAdapter adapter,
org.eclipse.swt.widgets.Composite composite,
java.lang.String name,
int minValue,
int maxValue)
initialize
public void initialize(GenericParameterAdapter _adapter,
org.eclipse.swt.widgets.Composite composite,
java.lang.String name)
setMinimumValue
public void setMinimumValue(int value)
setMaximumValue
public void setMaximumValue(int value)
getName
public java.lang.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(java.lang.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)