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.eventcore.gui;
|
---|
16 |
|
---|
17 | import 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 | */
|
---|
28 | public 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 | }
|
---|