]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.jemmy/src/main/java/org/argeo/slc/jemmy/FictiveComponentWrapper.java
6964a3196ee76157b871b8a5f8e34c22af511178
1 package org
.argeo
.slc
.jemmy
;
3 import java
.util
.HashMap
;
6 import org
.netbeans
.jemmy
.operators
.ComponentOperator
;
8 public class FictiveComponentWrapper
implements ComponentWrapper
{
10 protected ComponentWrapper parent
;
12 public ComponentOperator
find() {
13 // just ask the parent
18 * Return only itself (if the class matches)
20 public Map
getAccessors(Class accessorClass
) {
21 Map accessors
= new HashMap();
22 if (accessorClass
.isInstance(this)) {
23 accessors
.put(((Accessor
) this).getFieldName(), this);
28 public ComponentWrapper
getParent() {
32 public void setParent(ComponentWrapper parent
) {