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

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.config.generic.GenericFloatParameter

public class GenericFloatParameter
extends Object


Constructor Summary
GenericFloatParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, String name)
           
GenericFloatParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, String name, float minValue, float maxValue, boolean allowZero, int digitsAfterDecimal)
           
 
Method Summary
 org.eclipse.swt.widgets.Control getControl()
           
 float getValue()
           
 void initialize(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, String name)
           
 void refresh()
           
 void setLayoutData(Object layoutData)
           
 void setValue(float value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericFloatParameter

public GenericFloatParameter(GenericParameterAdapter adapter,
                             org.eclipse.swt.widgets.Composite composite,
                             String name)

GenericFloatParameter

public GenericFloatParameter(GenericParameterAdapter adapter,
                             org.eclipse.swt.widgets.Composite composite,
                             String name,
                             float minValue,
                             float maxValue,
                             boolean allowZero,
                             int digitsAfterDecimal)
Method Detail

initialize

public void initialize(GenericParameterAdapter adapter,
                       org.eclipse.swt.widgets.Composite composite,
                       String name)

setValue

public void setValue(float value)

getValue

public float getValue()

refresh

public void refresh()

setLayoutData

public void setLayoutData(Object layoutData)

getControl

public org.eclipse.swt.widgets.Control getControl()