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
-
Constructor Summary
ConstructorDescriptionRegistryNameValidator
(VComboBox<?> holder, String name) RegistryNameValidator
(VTextField holder, String name) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getText()
static boolean
isLCLetterOrDigit
(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, wait
Methods inherited from interface net.mcreator.ui.validation.Validator
validateIfEnabled