Search in sources :

Example 1 with FieldDoubleSetting

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

the class SettingObjectToDoubleField method newSetting.

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

Aggregations

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