/** * Create a PropertyEditorFieldInfo * * @param label field descriptor * @param type Property Editor Type of this field */ public PropertyEditorFieldInfo(String label, PropertyEditorType type) { this.label = checkNotNull("label", label); this.originalValue = currentStringValue; this.type = checkNotNull("type", type); this.validators.addAll(type.getValidators()); }
/** * Create a PropertyEditorFieldInfo * * @param label field descriptor * @param type Property Editor Type of this field */ public PropertyEditorFieldInfo(String label, PropertyEditorType type) { this.label = checkNotNull("label", label); this.originalValue = currentStringValue; this.type = checkNotNull("type", type); this.validators.addAll(type.getValidators()); }
/** * Create a PropertyEditorFieldInfo * * @param label field descriptor * @param type Property Editor Type of this field * @param currentStringValue Current value of this field */ public PropertyEditorFieldInfo(String label, String currentStringValue, PropertyEditorType type) { this.label = checkNotNull("label", label); this.currentStringValue = checkNotNull("currentStringValue", currentStringValue); this.originalValue = currentStringValue; this.type = checkNotNull("type", type); this.validators.addAll(type.getValidators()); }
/** * Create a PropertyEditorFieldInfo * * @param label field descriptor * @param type Property Editor Type of this field * @param currentStringValue Current value of this field */ public PropertyEditorFieldInfo(String label, String currentStringValue, PropertyEditorType type) { this.label = checkNotNull("label", label); this.currentStringValue = checkNotNull("currentStringValue", currentStringValue); this.originalValue = currentStringValue; this.type = checkNotNull("type", type); this.validators.addAll(type.getValidators()); }