[1783] | 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 | package de.ugoe.cs.autoquest.plugin.android.guimodel;
|
---|
| 15 |
|
---|
| 16 | import 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 | */
|
---|
[1790] | 26 | public class ANDROIDButton extends ANDROIDGUIElement implements IButton{
|
---|
[1783] | 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 | */
|
---|
[1790] | 45 | public ANDROIDButton(ANDROIDGUIElementSpec specification,
|
---|
| 46 | ANDROIDGUIElement parent) {
|
---|
[1783] | 47 | super(specification, parent);
|
---|
| 48 | // TODO Auto-generated constructor stub
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | /*
|
---|
| 52 | * (non-Javadoc)
|
---|
| 53 | *
|
---|
[1813] | 54 | * @see de.ugoe.cs.autoquest.plugin.android.guimodel.ANDROIDGUIElement#getElementDescriptor()
|
---|
[1783] | 55 | */
|
---|
| 56 | @Override
|
---|
| 57 | protected String getElementDescriptor() {
|
---|
| 58 | return "Button";
|
---|
| 59 | }
|
---|
| 60 |
|
---|
| 61 | }
|
---|