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


Constructor Summary
GenericFloatParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, java.lang.String name)
           
GenericFloatParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, java.lang.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, java.lang.String name)
           
 void refresh()
           
 void setLayoutData(java.lang.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,
                             java.lang.String name)

GenericFloatParameter

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

initialize

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

setValue

public void setValue(float value)

getValue

public float getValue()

refresh

public void refresh()

setLayoutData

public void setLayoutData(java.lang.Object layoutData)

getControl

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