source: trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/gui/IInteraction.java @ 927

Last change on this file since 927 was 927, checked in by sherbold, 12 years ago
  • added copyright under the Apache License, Version 2.0
  • Property svn:executable set to *
File size: 1.5 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.
14
15package de.ugoe.cs.autoquest.eventcore.gui;
16
17import de.ugoe.cs.autoquest.eventcore.IEventType;
18
19/**
20 * <p>
21 * An interaction is a special event type which represents the interaction of a user with an element
22 * of a GUI. An example is a mouse click on a button.
23 * </p>
24 *
25 * @version 1.0
26 * @author Patrick Harms
27 */
28public interface IInteraction extends IEventType {
29    /**
30     * <p>
31     * Determines whether an event type starts a logical sequence, i.e., a task.
32     * </p>
33     *
34     * @return true if a logical sequence is started; false otherwise
35     */
36    public boolean startsLogicalSequence();
37
38    /**
39     * <p>
40     * Determines whether an event type finishes a logical sequence, i.e., a task.
41     * </p>
42     *
43     * @return true if a logical sequence is finished; false otherwise
44     */
45    public boolean finishesLogicalSequence();
46
47}
Note: See TracBrowser for help on using the repository browser.