public static void validate ( PropertyKey key , Object value ) throws IllegalArgumentException { validate ( key . getAnnotations ( ) , value ) ; }
This method ensures that any control property value assignment satisfies all property constraints . This method should be called by control property setters to ensure values assigned to properties at runtime are validated .