1
2
3
4 package org.sirius.client.web.classes;
5
6 import java.rmi.RemoteException;
7
8
9
10
11
12 public class WebEdit extends WebControl {
13
14
15
16
17
18 public WebEdit(final Frame parent, final String locator) {
19 super(parent, locator);
20
21 }
22
23
24
25
26
27
28 public WebEdit(final Frame parent, final String parentElement,
29 final String locator) {
30 super(parent, parentElement, locator);
31
32 }
33
34
35
36
37
38
39 public final String getText() throws RemoteException {
40 return this.getValue();
41 }
42
43
44
45
46
47
48 public final void type(final String text) throws RemoteException {
49 this.client().core().sendKeys(getParentElement(), getLocator(), text);
50 }
51 }