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.jfc.guimodel; |
---|
16 | |
---|
17 | import de.ugoe.cs.autoquest.eventcore.guimodel.IScrollPane; |
---|
18 | |
---|
19 | /** |
---|
20 | * <p> |
---|
21 | * Class that represents scroll panes in JFC GUIs. |
---|
22 | * </p> |
---|
23 | * |
---|
24 | * @version 1.0 |
---|
25 | * @author Patrick Harms |
---|
26 | */ |
---|
27 | public class JFCScrollPane extends JFCGUIElement implements IScrollPane { |
---|
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 JFCScrollPane. |
---|
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 JFCScrollPane(JFCGUIElementSpec specification, JFCGUIElement parent) { |
---|
48 | super(specification, parent); |
---|
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 "ScrollPane"; |
---|
59 | } |
---|
60 | |
---|
61 | } |
---|