public class FloatAttribute extends PrimitiveAttribute<java.lang.Double>
A float type attribute.
[[examples=verboseExample]]defaultValue| Constructor and Description |
|---|
FloatAttribute()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class |
getValueType()
Get the class of the value.
|
void |
setDefault(java.lang.Double value)
A default value for this attribute.
|
clientConfigTypeDescription, getDefault, getValue, getValueClass, printClientConfig, setConfigName, validate, validateValuepublic final void setDefault(java.lang.Double value)
A default value for this attribute. Example:
attributes:
title: !float
default: 4.2setDefault in class PrimitiveAttribute<java.lang.Double>value - The default value.public java.lang.Class getValueType()
Attribute