org.gudy.azureus2.ui.swt.config.generic
Class GenericIntParameter

java.lang.Object
  extended by 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


Constructor Summary
GenericIntParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, java.lang.String name)
           
GenericIntParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, java.lang.String name, int defaultValue)
          Deprecated.  
GenericIntParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, java.lang.String name, int minValue, int maxValue)
           
 
Method Summary
 void disableTimedSave()
           
 org.eclipse.swt.widgets.Control getControl()
           
 java.lang.String getName()
           
 int getValue()
           
 void initialize(GenericParameterAdapter _adapter, org.eclipse.swt.widgets.Composite composite, java.lang.String name)
           
 boolean isGeneratingIntermediateEvents()
           
 boolean isZeroHidden()
           
 void refresh()
           
 void resetToDefault()
           
 void setGenerateIntermediateEvents(boolean generateIntermediateEvents)
           
 void setLayoutData(java.lang.Object layoutData)
           
 void setMaximumValue(int value)
           
 void setMinimumValue(int value)
           
 void setValue(int value)
           
 void setValue(int value, boolean force_adapter_set)
           
 void setZeroHidden(boolean isZeroHidden)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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)