View Javadoc

1   /**
2    * .
3    */
4   package org.sirius.client.web.classes;
5   
6   import java.rmi.RemoteException;
7   
8   /**
9    * @author Myk Kolisnyk
10   * .
11   */
12  public class WebImage extends WebButton {
13  
14      /**
15       * @param parent .
16       * @param locator .
17       */
18      public WebImage(final Frame parent, final String locator) {
19          super(parent, locator);
20          // TODO Auto-generated constructor stub
21      }
22  
23      /**
24       * @param parent .
25       * @param parentElement .
26       * @param locator .
27       */
28      public WebImage(final Frame parent, final String parentElement,
29              final String locator) {
30          super(parent, parentElement, locator);
31          // TODO Auto-generated constructor stub
32      }
33  
34      /**
35       * .
36       * @return .
37       * @throws RemoteException .
38       */
39      public final String alt() throws RemoteException {
40          return this.getAttribute("alt");
41      }
42  
43      /**
44       * .
45       * @return .
46       * @throws RemoteException .
47       */
48      public final String src() throws RemoteException {
49          return this.getAttribute("src");
50      }
51  }