Class ConditionalItemListFieldValidator
java.lang.Object
net.mcreator.ui.validation.validators.ConditionalItemListFieldValidator
- All Implemented Interfaces:
Validator
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.mcreator.ui.validation.Validator
Validator.ValidationResult, Validator.ValidationResultType
-
Constructor Summary
ConstructorDescriptionConditionalItemListFieldValidator
(JItemListField<?> holder, String emptyMessage, Supplier<Boolean> condition, boolean validateTextWhenBooleanIs) ConditionalItemListFieldValidator
(JItemListField<?> holder, String emptyMessage, Supplier<Boolean> condition, boolean validateTextWhenBooleanIs, Validator.ValidationResultType answer) ConditionalItemListFieldValidator
(JItemListField<?> holder, String emptyMessage, JToggleButton condition, boolean validateTextWhenBooleanIs) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.mcreator.ui.validation.Validator
validateIfEnabled
-
Constructor Details
-
ConditionalItemListFieldValidator
public ConditionalItemListFieldValidator(JItemListField<?> holder, String emptyMessage, Supplier<Boolean> condition, boolean validateTextWhenBooleanIs) -
ConditionalItemListFieldValidator
public ConditionalItemListFieldValidator(JItemListField<?> holder, String emptyMessage, JToggleButton condition, boolean validateTextWhenBooleanIs) -
ConditionalItemListFieldValidator
public ConditionalItemListFieldValidator(JItemListField<?> holder, String emptyMessage, Supplier<Boolean> condition, boolean validateTextWhenBooleanIs, Validator.ValidationResultType answer)
-
-
Method Details