In theory, I think a developer might expect the allowDecimals property to be set implicitly to false because he/she is specifying an integer type with an integer property editor and integers are whole numbers.

If I don't call setAllowDecimals the field allows the . character which as previously mentioned violates the premise of having an integer field.