org.apache.tapestry.param
Class DoubleParameterConnector

java.lang.Object
  |
  +--org.apache.tapestry.param.AbstractParameterConnector
        |
        +--org.apache.tapestry.param.DoubleParameterConnector
All Implemented Interfaces:
IParameterConnector

public class DoubleParameterConnector
extends AbstractParameterConnector

Connects a parameter to a property of type double.

Since:
2.0.3
Version:
$Id: DoubleParameterConnector.java,v 1.2 2003/03/15 21:22:16 hlship Exp $
Author:
Howard Lewis Ship

Constructor Summary
protected DoubleParameterConnector(IComponent component, String parameterName, IBinding binding)
           
 
Method Summary
 void setParameter(IRequestCycle cycle)
          Invokes IBinding.getDouble() to obtain the value to assign to the property.
 
Methods inherited from class org.apache.tapestry.param.AbstractParameterConnector
getBinding, getBindingValue, resetParameter, setPropertyValue, shouldSetPropertyValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleParameterConnector

protected DoubleParameterConnector(IComponent component,
                                   String parameterName,
                                   IBinding binding)
Method Detail

setParameter

public void setParameter(IRequestCycle cycle)
Invokes IBinding.getDouble() to obtain the value to assign to the property.
Following copied from interface: org.apache.tapestry.param.IParameterConnector
Throws:
RequiredParameterException - if the parameter is required, but the IBinding supplies a null value.