Class ConditionalTextFieldValidator
java.lang.Object
net.mcreator.ui.validation.validators.ConditionalTextFieldValidator
- All Implemented Interfaces:
Validator
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.mcreator.ui.validation.Validator
Validator.ValidationResult, Validator.ValidationResultType
-
Constructor Summary
ConstructorDescriptionConditionalTextFieldValidator
(VTextField holder, String emptyMessage, JToggleButton condition, boolean validateTextWhenBooleanIs) ConditionalTextFieldValidator
(VTextField holder, String emptyMessage, JToggleButton condition, boolean validateTextWhenBooleanIs, Validator.ValidationResultType answer) -
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
-
ConditionalTextFieldValidator
public ConditionalTextFieldValidator(VTextField holder, String emptyMessage, JToggleButton condition, boolean validateTextWhenBooleanIs) -
ConditionalTextFieldValidator
public ConditionalTextFieldValidator(VTextField holder, String emptyMessage, JToggleButton condition, boolean validateTextWhenBooleanIs, Validator.ValidationResultType answer)
-
-
Method Details