source: trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLTextField.java @ 2146

Last change on this file since 2146 was 1278, checked in by pharms, 11 years ago
  • added some Java Docs
File size: 1.6 KB
Line 
1//   Copyright 2012 Georg-August-Universität Göttingen, Germany
2//
3//   Licensed under the Apache License, Version 2.0 (the "License");
4//   you may not use this file except in compliance with the License.
5//   You may obtain a copy of the License at
6//
7//       http://www.apache.org/licenses/LICENSE-2.0
8//
9//   Unless required by applicable law or agreed to in writing, software
10//   distributed under the License is distributed on an "AS IS" BASIS,
11//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//   See the License for the specific language governing permissions and
13//   limitations under the License.
14
15package de.ugoe.cs.autoquest.plugin.html.guimodel;
16
17import de.ugoe.cs.autoquest.eventcore.guimodel.ITextField;
18
19/**
20 * <p>
21 * a representation for a text field on a web page.
22 * </p>
23 *
24 * @author Patrick Harms
25 */
26public class HTMLTextField extends HTMLPageElement implements ITextField {
27
28    /**
29     * <p>
30     * default serial version UID
31     * </p>
32     */
33    private static final long serialVersionUID = 1L;
34
35    /**
36     * <p>
37     * initializes the text field with its specification and its parent
38     * </p>
39     *
40     * @param specification the specification for the represented tag
41     * @param parent        the parent of the GUI element
42     */
43    public HTMLTextField(HTMLPageElementSpec specification, HTMLGUIElement parent) {
44        super(specification, parent);
45    }
46
47    /* (non-Javadoc)
48     * @see de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLGUIElement#getElementDescriptor()
49     */
50    @Override
51    protected String getElementDescriptor() {
52        return "TextField";
53    }
54
55}
Note: See TracBrowser for help on using the repository browser.