Changeset 831 for trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/guimodel/IGUIElementSpec.java
- Timestamp:
- 09/20/12 09:40:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/guimodel/IGUIElementSpec.java
r778 r831 1 1 2 package de.ugoe.cs.quest.eventcore.guimodel; 2 3 … … 5 6 /** 6 7 * <p> 7 * TODO comment8 * Common interface for GUI element specifications. 8 9 * </p> 9 10 * 10 * @version $Revision: $ $Date: 17.08.2012$11 * @author 2012, last modified by $Author: pharms$11 * @version 1.0 12 * @author Patrick Harms 12 13 */ 13 14 public interface IGUIElementSpec extends Serializable { … … 15 16 /** 16 17 * <p> 17 * TODO: comment18 * Returns a string represenation of the GUI element type that this specification represents. 18 19 * </p> 19 * 20 * 20 21 * @return 21 22 */ 22 23 public String getType(); 23 24 24 25 /** 25 26 * <p> 26 * TODO: comment 27 * Evaluates if two GUI specifications are similar. Similar means that a heuristic determines 28 * that the two GUI specifications describe the same GUI element. 27 29 * </p> 28 * 30 * 29 31 * @param other 30 * @return 32 * specification whose similarity to this is evaluated 33 * @return true if the specifications are similar; false otherwise 31 34 */ 32 35 public boolean getSimilarity(IGUIElementSpec other); … … 34 37 /** 35 38 * <p> 36 * TODO: comment39 * Defines that {@link IGUIElement} implementations have to define equals. 37 40 * </p> 38 * 39 * @param other 40 * @return 41 * 42 * @see Object#equals(Object) 41 43 */ 42 public boolean equals(IGUIElementSpec other); 43 44 @Override 45 public boolean equals(Object other); 46 44 47 /** 45 48 * <p> 46 * TODO: comment49 * Defines that {@link IGUIElement} implementations have to define hashCode. 47 50 * </p> 48 * 49 * @ return51 * 52 * @see Object#hashCode() 50 53 */ 54 @Override 51 55 public int hashCode(); 52 56 }
Note: See TracChangeset
for help on using the changeset viewer.