Class RegistryNameValidator
java.lang.Object
net.mcreator.ui.validation.validators.RegistryNameValidator
- All Implemented Interfaces:
Validator
- Direct Known Subclasses:
NamespaceValidator,ResourceLocationValidator,ResourceNameValidator
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.mcreator.ui.validation.Validator
Validator.ValidationResult, Validator.ValidationResultType -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRegistryNameValidator(VComboBox<?> holder, String name) RegistryNameValidator(VTextField holder, String name) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetText()static booleanisLCLetterOrDigit(char c) setAllowEmpty(boolean allowEmpty) setMaxLength(int maxLength) setValidChars(List<Character> validChars) validate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.mcreator.ui.validation.Validator
validateIfEnabled