Changeset 2218 for trunk/autoquest-core-events/src/main/java/de
- Timestamp:
- 11/29/17 14:55:48 (7 years ago)
- Location:
- trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/Event.java
r1873 r2218 30 30 * @version 1.0 31 31 * 32 * @param <T>33 * Can be used to declare that events belong to a specific platform without subclassing.34 32 */ 35 33 public final class Event implements Serializable { … … 86 84 * <p> 87 85 * List of {@link IReplayable}s of type T that describes the replay of an event. The 88 * {@link IReplayable}s can be interpreted as <it>sub-events</it>on the platform level that86 * {@link IReplayable}s can be interpreted as sub-events on the platform level that 89 87 * make up the abstract event. 90 88 * </p> -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/HierarchicalEventTargetTree.java
r2156 r2218 25 25 /** 26 26 * <p> 27 * This class provides the interfaces for GUI element trees.27 * This class provides the interfaces for hierarchical event target trees. 28 28 * </p> 29 29 * <p> 30 * The GUIElementTree represents the hierarchical structure of the GUI elements "as it is"31 * currently during a session. It may change during the session due to creation and destruction32 * of GUI elements. The parameter T represents the id type of the GUI elements that are handled33 * internally.30 * The HierarchicalEventTargetTree represents the hierarchical structure of the event targets 31 * "as it is" currently during a session. It may change during the session due to creation and 32 * destruction of event targets. The parameter ID represents the id type of the event targets 33 * that are handled internally. The other type parameters specify the concrete target type. 34 34 * </p> 35 35 * … … 44 44 /** 45 45 * <p> 46 * Map of all GUI elements that are part of the tree for efficient searching. The keys of the47 * map are the ids of the GUI elements.46 * Map of all event targets that are part of the tree for efficient searching. The keys of the 47 * map are the ids of the event targets. 48 48 * </p> 49 49 */ … … 52 52 /** 53 53 * <p> 54 * Map of all GUI element specifications that are part of the tree for efficient searching. The55 * keys of the map are the ids of the GUI elements.54 * Map of all event target specifications that are part of the tree for efficient searching. The 55 * keys of the map are the ids of the event targets. 56 56 * </p> 57 57 */ … … 60 60 /** 61 61 * <p> 62 * Map of all children of GUI elements that are part of the tree. The keys of the map are the63 * ids of the parent GUI elements.62 * Map of all children of event targets that are part of the tree. The keys of the map are the 63 * ids of the parent event targets. 64 64 * </p> 65 65 */ … … 68 68 /** 69 69 * <p> 70 * Map of all parents of GUI elements that are part of the tree. The keys of the map are the71 * ids of the child GUI elements.70 * Map of all parents of event targets that are part of the tree. The keys of the map are the 71 * ids of the child event targets. 72 72 * </p> 73 73 */ … … 83 83 /** 84 84 * <p> 85 * the GUI element factory used in the model85 * the event target factory used in the model 86 86 * </p> 87 87 */ … … 106 106 /** 107 107 * <p> 108 * Adds a new GUI element to the tree.108 * Adds a new event target to the tree. 109 109 * </p> 110 110 * 111 111 * @param eventTargetID 112 * id of the GUI element to be created112 * id of the event target to be created 113 113 * @param parentID 114 * id of the parent GUI element114 * id of the parent event target 115 115 * @param eventTargetSpec 116 * the GUI element specification116 * the event target specification 117 117 * 118 * @throws EventTargetModelException if the GUI element can not be added to the underlying GUI model118 * @throws EventTargetModelException if the event target can not be added to the underlying GUI model 119 119 */ 120 120 public void add(ID eventTargetID, … … 159 159 /** 160 160 * <p> 161 * Searches the tree for a GUI element with the specified id and returns its161 * Searches the tree for a event target with the specified id and returns its 162 162 * {@link IGUIElement} . 163 163 * </p> … … 165 165 * @param id 166 166 * id that is looked for 167 * @return {@link I GUIElementSpec} of the GUI element with the given id if found, null otherwise167 * @return {@link IEventTargetSpec} of the event target with the given id if found, null otherwise 168 168 */ 169 169 public TARGET_TYPE find(ID id) { … … 173 173 /** 174 174 * <p> 175 * Returns the id of the provided {@link I GUIElement}. The comparison is performed using the176 * equals method of the GUI element.175 * Returns the id of the provided {@link IHierachicalEventTarget}. The comparison is performed using the 176 * equals method of the event target. 177 177 * </p> 178 178 * 179 179 * @param eventTarget 180 180 * guiElement that is looked for 181 * @return the id of the GUI element, null if the GUI element can not be found181 * @return the id of the event target, null if the event target can not be found 182 182 */ 183 183 public ID find(TARGET_TYPE eventTarget) { … … 193 193 /** 194 194 * <p> 195 * Removes a GUI element (defined by its id) from the tree. All children of the GUI element will be195 * Removes a event target (defined by its id) from the tree. All children of the event target will be 196 196 * removed recursively. 197 197 * </p> 198 198 * 199 199 * @param id 200 * id of the GUI element to be removed201 * @return number of GUI elements that were removed200 * id of the event target to be removed 201 * @return number of event targets that were removed 202 202 */ 203 203 public int remove(ID id) { -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/IReplayable.java
r927 r2218 21 21 /** 22 22 * <p> 23 * This interface is used by {@link ReplayableEvent}to describe how events can23 * This interface is used by replayable events to describe how events can 24 24 * be replayed. It can be used to define a sequence of fine-grained platform 25 25 * events that make up an abstract event. -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/gui/KeyInteractionCorrector.java
r927 r2218 30 30 * This class provides the functionality to sort and clean up all key interactions in a log. In 31 31 * particular: 32 * </p> 32 33 * <ol> 33 34 * <li>In case a combination key (e.g., shift, alt, control) is held down, multiple … … 48 49 * events for all combination keys.</li> 49 50 * </ol> 50 * </p>51 51 * 52 52 * @version 1.0 -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIElementGroup.java
r2146 r2218 41 41 * </p> 42 42 * 43 * @param groupName 44 * @param parent 45 * @param eventTargetModelthe GUI model to which the group will belong43 * @param groupName the name of the GUI element group 44 * @param parent the optional parent GUI element of the group 45 * @param guiModel the GUI model to which the group will belong 46 46 */ 47 47 public GUIElementGroup(String groupName, -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIModel.java
r2146 r2218 22 22 /** 23 23 * <p> 24 * A GUI model is a tree of {@link IGUIElement s}and represents a complete GUI of a software. It is24 * A GUI model is a tree of {@link IGUIElement}s and represents a complete GUI of a software. It is 25 25 * platform independent. It may have several root nodes, as some GUIs are made up of several Frames 26 26 * being independent from each other. The GUI model is filled using the -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/IGUIElement.java
r2146 r2218 107 107 * </p> 108 108 * 109 * @param guiElement109 * @param otherElement 110 110 * the GUI element to measure the distance for 111 111 */
Note: See TracChangeset
for help on using the changeset viewer.