Class FloatProperty<K>
java.lang.Object
This is the float specific version of numeric property
-
Constructor Summary
ConstructorsConstructorDescriptionFloatProperty(String name) Creates a float property with the given name.FloatProperty(String name, Float value) Creates a float property with the given name and initial value. -
Method Summary
Modifier and TypeMethodDescriptionfloatgetFloat()Returns the value as a primitive, if the value is null/nullable this will fail...Methods inherited from class NumericProperty
isNullable, set, setNullableMethods inherited from class PropertyBase
addChangeListener, bindGlobalGetListener, bindGlobalSetListener, firePropertyChanged, getClientProperty, getGenericType, getLabel, getName, putClientProperty, removeChangeListener, setLabel, stopListening, validateCollectionTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
FloatProperty
Creates a float property with the given name.
Parameters
name: the property name.
-
FloatProperty
-
-
Method Details
-
getFloat
public float getFloat()Returns the value as a primitive, if the value is null/nullable this will fail...
Returns
the numeric value
-