Search in sources :

Example 1 with FieldFloatSetting

use of com.tvd12.dahlia.core.setting.FieldFloatSetting in project dahlia by youngmonkeys.

the class SettingObjectToFloatField method newSetting.

@Override
protected FieldFloatSetting newSetting(SettingObjectToFields mappers, EzyObject object) {
    FieldFloatSetting setting = new FieldFloatSetting();
    setting.setDefaultValue(object.get(SettingFields.DEFAULT, float.class));
    return setting;
}
Also used : FieldFloatSetting(com.tvd12.dahlia.core.setting.FieldFloatSetting)

Aggregations

FieldFloatSetting (com.tvd12.dahlia.core.setting.FieldFloatSetting)1