Class MandatoryComponent
java.lang.Object
VASSAL.configure.MandatoryComponent
- All Implemented Interfaces:
ValidityChecker
Requires that at least one child of a given type
exist within a target component
-
Constructor Summary
ConstructorDescriptionMandatoryComponent
(AbstractConfigurable target, Class<?> requiredChildClass) -
Method Summary
-
Constructor Details
-
MandatoryComponent
-
-
Method Details
-
validate
- Specified by:
validate
in interfaceValidityChecker
-