Changeset 831 for trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/guimodel/IGUIElement.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/IGUIElement.java
r655 r831 1 1 2 package de.ugoe.cs.quest.eventcore.guimodel; 2 3 … … 5 6 /** 6 7 * <p> 7 * TODO comment8 * Common interface for all GUI elements. 8 9 * </p> 9 10 * 10 * @version $Revision: $ $Date: $11 * @author 2011, last modified by $Author: $11 * @version 1.0 12 * @author Patrick Harms 12 13 */ 13 14 public interface IGUIElement extends IEventTarget { 14 15 15 16 /** 16 17 * <p> 17 * TODO comment18 * Returns the specification of the GUI element. 18 19 * </p> 20 * 21 * @return the specification 19 22 */ 20 23 public IGUIElementSpec getSpecification(); … … 22 25 /** 23 26 * <p> 24 * TODO comment27 * Returns the parent of the GUI element. 25 28 * </p> 29 * 30 * @return the parent 26 31 */ 27 32 public IGUIElement getParent(); … … 29 34 /** 30 35 * <p> 31 * TODO comment36 * Defines that {@link IGUIElement} implementations have to define equals. 32 37 * </p> 33 * 34 * @param other 35 * @return 38 * 39 * @see Object#equals(Object) 36 40 */ 41 @Override 37 42 public boolean equals(Object other); 38 43 39 44 /** 40 45 * <p> 41 * TODO comment46 * Defines that {@link IGUIElement} implementations have to define hashCode. 42 47 * </p> 48 * 49 * @see Object#hashCode() 43 50 */ 51 @Override 44 52 public int hashCode(); 45 53 46 54 /** 47 55 * <p> 48 * TODO comment 56 * Updates the specification of a GUI element with another specification, e.g., to add further 57 * known names of the GUI element. 49 58 * </p> 59 * 60 * @param furtherSpec 61 * additional specification 50 62 */ 51 63 public void updateSpecification(IGUIElementSpec furtherSpec); … … 53 65 /** 54 66 * <p> 55 * TODO: comment 67 * The {@link IGUIElement} that is passed by this function is equal to the current GUI element 68 * and will hereafter be treated as such. 56 69 * </p> 57 * 70 * 58 71 * @param guiElement 72 * GUI element that is equal 59 73 */ 60 74 public void addEqualGUIElement(IGUIElement equalElement);
Note: See TracChangeset
for help on using the changeset viewer.