< prev index next >

core/JemmyCore/src/org/jemmy/lookup/ControlHierarchy.java

Print this page




  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package org.jemmy.lookup;
  27 
  28 import java.util.List;
  29 
  30 /**
  31  *
  32  * @author shura
  33  */
  34 public interface ControlHierarchy extends ControlList {
  35     /**
  36      * Override this to get subchildren of the controls in the hierarchy.
  37      * List could contain any type of objects - not just <code>CONTROL</code>.
  38      * @param subParent - one of the elements in the hierarchy reflected by this lookup.
  39      * If null passed - first level children are expected.
  40      * @return
  41      */
  42     public List<?> getChildren(Object subParent);
  43 
  44     /**
  45      *
  46      * @param child
  47      * @return
  48      */
  49     public Object getParent(Object child);
  50 }


  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package org.jemmy.lookup;
  27 
  28 import java.util.List;
  29 
  30 /**
  31  *
  32  * @author shura
  33  */
  34 public interface ControlHierarchy extends ControlList {
  35     /**
  36      * Override this to get subchildren of the controls in the hierarchy.
  37      * List could contain any type of objects - not just <code>CONTROL</code>.
  38      * @param subParent - one of the elements in the hierarchy reflected by this lookup.
  39      * If null passed - first level children are expected.
  40      * @return list of child control objects
  41      */
  42     public List<?> getChildren(Object subParent);
  43 





  44     public Object getParent(Object child);
  45 }
< prev index next >