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

Last change on this file since 786 was 786, checked in by sherbold, 12 years ago
  • code documentation
  • Property svn:executable set to *
File size: 890 bytes
Line 
1
2package de.ugoe.cs.quest.eventcore.gui;
3
4import de.ugoe.cs.quest.eventcore.IEventType;
5
6/**
7 * <p>
8 * An interaction is a special event type which represents the interaction of a user with an element
9 * of a GUI. An example is a mouse click on a button.
10 * </p>
11 *
12 * @version 1.0
13 * @author Patrick Harms
14 */
15public interface IInteraction extends IEventType {
16    /**
17     * <p>
18     * Determines whether an event type starts a logical sequence, i.e., a task.
19     * </p>
20     *
21     * @return true if a logical sequence is started; false otherwise
22     */
23    public boolean startsLogicalSequence();
24
25    /**
26     * <p>
27     * Determines whether an event type finishes a logical sequence, i.e., a task.
28     * </p>
29     *
30     * @return true if a logical sequence is finished; false otherwise
31     */
32    public boolean finishesLogicalSequence();
33
34}
Note: See TracBrowser for help on using the repository browser.