Class FloatAttribute

java.lang.Object
org.mapfish.print.attribute.PrimitiveAttribute<Double>
org.mapfish.print.attribute.FloatAttribute
All Implemented Interfaces:
Attribute, ConfigurationObject

public class FloatAttribute extends PrimitiveAttribute<Double>
A float type attribute. [[examples=verboseExample]]
  • Constructor Details

    • FloatAttribute

      public FloatAttribute()
      Constructor.
  • Method Details

    • setDefault

      public final void setDefault(Double value)
      A default value for this attribute. Example:
      
           attributes:
             title: !float
               default: 4.2
      Specified by:
      setDefault in class PrimitiveAttribute<Double>
      Parameters:
      value - The default value.
    • getValueType

      public Class getValueType()
      Description copied from interface: Attribute
      Get the class of the value.
      Returns:
      the value class