public IntFieldProperty(@NotNull final Property parent, @NonNls final String fieldName, final int lowBoundary, final Object templateValue) { super(parent, fieldName); myParent = parent; myFieldName = fieldName; myTemplateValue = templateValue; myRenderer = new LabelPropertyRenderer<Integer>(); myEditor = new IntEditor(lowBoundary); }
protected AbstractIntProperty(Property parent, @NotNull @NonNls String name, int defaultValue) { super(parent, name); myDefaultValue = defaultValue; myEditor = new IntEditor(defaultValue); }