< prev index next >

core/JemmyCore/src/org/jemmy/dock/ObjectLookup.java

Print this page




  26 
  27 import java.lang.annotation.Documented;
  28 import java.lang.annotation.ElementType;
  29 import java.lang.annotation.Target;
  30 import org.jemmy.interfaces.Parent;
  31 import org.jemmy.lookup.LookupCriteria;
  32 
  33 /**
  34  * This should be used to allow to build dock lookup constructors which take
  35  * some values (such as text, value, orientation, etc) instead of lookup criteria.
  36  * Methods annotated with this should take class of the looked up control as a
  37  * first parameter and return parent around that type.
  38  * @see Parent
  39  * @see LookupCriteria
  40  * @author shura
  41  */
  42 @Target(ElementType.METHOD)
  43 @Documented
  44 public @interface ObjectLookup {
  45     /**
  46      * Description of the method parameters. To be used in the javadoc later.
  47      */
  48     String value();
  49 }


  26 
  27 import java.lang.annotation.Documented;
  28 import java.lang.annotation.ElementType;
  29 import java.lang.annotation.Target;
  30 import org.jemmy.interfaces.Parent;
  31 import org.jemmy.lookup.LookupCriteria;
  32 
  33 /**
  34  * This should be used to allow to build dock lookup constructors which take
  35  * some values (such as text, value, orientation, etc) instead of lookup criteria.
  36  * Methods annotated with this should take class of the looked up control as a
  37  * first parameter and return parent around that type.
  38  * @see Parent
  39  * @see LookupCriteria
  40  * @author shura
  41  */
  42 @Target(ElementType.METHOD)
  43 @Documented
  44 public @interface ObjectLookup {
  45     /**
  46      * @return description of the method parameters. To be used in the javadoc later.
  47      */
  48     String value();
  49 }
< prev index next >