All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xapi.ui.autoui.api.UiRendererOptions Maven / Gradle / Ivy

Go to download

This module exists solely to package all other gwt modules into a single uber jar. This makes deploying to non-mavenized targets much easier. Of course, you would be wise to inherit your dependencies individually; the uber jar is intended for projects like collide, which have complex configuration, and adding many jars would be a pain.

The newest version!
package xapi.ui.autoui.api;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@SuppressWarnings("rawtypes")
@Target({ElementType.METHOD, ElementType.TYPE, ElementType.PACKAGE})
@Retention(RetentionPolicy.RUNTIME)
public @interface UiRendererOptions {

  Class[] renderers() default {};

  /**
   * @return true if the current set of {@link #renderers()} should be applied to
   * child nodes; when {@link UiRendererOptions} are used on a class, and {@link #isWrapper()}
   * return true, then each renderer is applied to the child members of that class (enclosed types,
   * and enclosed methods, as determined by method return type).
   * 
* In the future, package-level support will be supplied, to enable easy reusing of templates. */ boolean isWrapper() default false; boolean isHead() default false; boolean isTail() default false; Class[] validators() default {}; Class selector() default AlwaysTrue.class; String template() default ""; String[] templatekeys() default { "$name", "$value", "$0", "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", "$9" }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy