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.android.guimodel;
|
---|
16 |
|
---|
17 | import de.ugoe.cs.autoquest.eventcore.guimodel.ITextField;
|
---|
18 |
|
---|
19 | /**
|
---|
20 | * <p>
|
---|
21 | * Class that represents text fields in Android GUIs.
|
---|
22 | * </p>
|
---|
23 | *
|
---|
24 | * @version 1.0
|
---|
25 | * @author Florian Unger
|
---|
26 | */
|
---|
27 | public class ANDROIDTextField extends ANDROIDGUIElement implements ITextField{
|
---|
28 |
|
---|
29 | /**
|
---|
30 | * <p>
|
---|
31 | * Id for object serialization.
|
---|
32 | * </p>
|
---|
33 | */
|
---|
34 | private static final long serialVersionUID = 1L;
|
---|
35 |
|
---|
36 | /**
|
---|
37 | * <p>
|
---|
38 | * Constructor. Creates a new ANDROIDTextField.
|
---|
39 | * </p>
|
---|
40 | *
|
---|
41 | * @param specification
|
---|
42 | * specification of created GUI element
|
---|
43 | * @param parent
|
---|
44 | * parent of the created GUI element; null means that the element is a top-level
|
---|
45 | * window
|
---|
46 | */
|
---|
47 | public ANDROIDTextField(ANDROIDGUIElementSpec specification,
|
---|
48 | ANDROIDGUIElement parent) {
|
---|
49 | super(specification, parent);
|
---|
50 |
|
---|
51 | }
|
---|
52 |
|
---|
53 | /*
|
---|
54 | * (non-Javadoc)
|
---|
55 | *
|
---|
56 | * @see de.ugoe.cs.autoquest.plugin.android.guimodel.ANDROIDGUIElement#getElementDescriptor()
|
---|
57 | */
|
---|
58 | @Override
|
---|
59 | protected String getElementDescriptor() {
|
---|
60 | return "TextField";
|
---|
61 | }
|
---|
62 |
|
---|
63 | }
|
---|