1
2
3
4 package org.sirius.client.web.classes;
5
6 import java.rmi.RemoteException;
7
8
9
10
11
12 public class WebImage extends WebButton {
13
14
15
16
17
18 public WebImage(final Frame parent, final String locator) {
19 super(parent, locator);
20
21 }
22
23
24
25
26
27
28 public WebImage(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 alt() throws RemoteException {
40 return this.getAttribute("alt");
41 }
42
43
44
45
46
47
48 public final String src() throws RemoteException {
49 return this.getAttribute("src");
50 }
51 }