View Javadoc

1   /**
2    * .
3    */
4   package org.sirius.client.web.classes;
5   
6   /**
7    * @author Myk Kolisnyk
8    * .
9    */
10  public class WebCheckBox extends WebRadioButton {
11  
12      /**
13       * @param parent .
14       * @param locator .
15       */
16      public WebCheckBox(final Frame parent, final String locator) {
17          super(parent, locator);
18      }
19  
20      /**
21       * @param parent .
22       * @param parentElement .
23       * @param locator .
24       */
25      public WebCheckBox(final Frame parent, final String parentElement,
26              final String locator) {
27          super(parent, parentElement, locator);
28      }
29  
30      /**
31       * .
32       * @throws Exception .
33       */
34      public final void uncheck() throws Exception {
35          if (isChecked()) {
36              click();
37          }
38      }
39  
40  }