[1012] | 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 | |
---|
| 15 | package de.ugoe.cs.autoquest.plugin.html.guimodel; |
---|
| 16 | |
---|
| 17 | import de.ugoe.cs.autoquest.eventcore.guimodel.IComboBox; |
---|
| 18 | |
---|
| 19 | /** |
---|
| 20 | * <p> |
---|
[1278] | 21 | * a representation for a combo box on a web page. |
---|
[1012] | 22 | * </p> |
---|
| 23 | * |
---|
| 24 | * @author Patrick Harms |
---|
| 25 | */ |
---|
| 26 | public class HTMLComboBox extends HTMLPageElement implements IComboBox { |
---|
| 27 | |
---|
[1278] | 28 | /** |
---|
| 29 | * <p> |
---|
| 30 | * default serial version UID |
---|
| 31 | * </p> |
---|
| 32 | */ |
---|
[1012] | 33 | private static final long serialVersionUID = 1L; |
---|
| 34 | |
---|
| 35 | /** |
---|
| 36 | * <p> |
---|
[1278] | 37 | * initializes the combo box with its specification and its parent |
---|
[1012] | 38 | * </p> |
---|
| 39 | * |
---|
[1278] | 40 | * @param specification the specification for the represented tag |
---|
| 41 | * @param parent the parent of the GUI element |
---|
[1012] | 42 | */ |
---|
| 43 | public HTMLComboBox(HTMLPageElementSpec specification, HTMLGUIElement parent) { |
---|
| 44 | super(specification, parent); |
---|
| 45 | } |
---|
| 46 | |
---|
[1278] | 47 | /* (non-Javadoc) |
---|
[1012] | 48 | * @see de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLGUIElement#getElementDescriptor() |
---|
| 49 | */ |
---|
| 50 | @Override |
---|
| 51 | protected String getElementDescriptor() { |
---|
| 52 | return "ComboBox"; |
---|
| 53 | } |
---|
| 54 | |
---|
| 55 | } |
---|