source: trunk/autoquest-plugin-android/src/main/java/de/ugoe/cs/autoquest/plugin/android/guimodel/AndroidButton.java @ 1783

Last change on this file since 1783 was 1783, checked in by funger, 10 years ago

Parser for onClick events only. Using MouseClick? to simulate onClick events.

  • Property svn:mime-type set to text/plain
File size: 1.8 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.
14package de.ugoe.cs.autoquest.plugin.android.guimodel;
15
16import de.ugoe.cs.autoquest.eventcore.guimodel.IButton;
17
18/**
19 * <p>
20 * Class that represents buttons in Android GUIs.
21 * </p>
22 *
23 * @version 1.0
24 * @author Florian Unger
25 */
26public class AndroidButton extends AndroidGUIElement implements IButton{
27        /**
28     * <p>
29     * Id for object serialization.
30     * </p>
31     */
32    private static final long serialVersionUID = 1L;
33   
34    /**
35     * <p>
36     * Constructor. Creates a new AndroidButton.
37     * </p>
38     *
39     * @param specification
40     *            specification of created GUI element
41     * @param parent
42     *            parent of the created GUI element; null means that the element is a top-level
43     *            window
44     */
45    public AndroidButton(AndroidGUIElementSpec specification,
46                        AndroidGUIElement parent) {
47                super(specification, parent);
48                // TODO Auto-generated constructor stub
49        }
50   
51    /*
52     * (non-Javadoc)
53     *
54     * @see de.ugoe.cs.autoquest.plugin.jfc.guimodel.JFCGUIElement#getElementDescriptor()
55     */
56    @Override
57    protected String getElementDescriptor() {
58        return "Button";
59    }
60
61}
Note: See TracBrowser for help on using the repository browser.