source: trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/guimodel/IGUIElement.java @ 613

Last change on this file since 613 was 613, checked in by pharms, 12 years ago
  • implemented equality of GUI elements only for identical objects or registered equal objects to allow for singleton behavior also for objects already referenced elsewhere
  • Property svn:executable set to *
File size: 1.3 KB
Line 
1// Module    : $RCSfile: GUIElement.java,v $
2// Version   : $Revision: 0.0 $  $Author: Patrick $  $Date: 06.11.2011 10:26:40 $
3// Project   : TaskTreePerformanceTest
4// Creation  : 2011 by Patrick
5// Copyright : Patrick Harms, 2011
6
7package de.ugoe.cs.quest.eventcore.guimodel;
8
9import de.ugoe.cs.quest.eventcore.IEventTarget;
10
11/**
12 * <p>
13 * TODO comment
14 * </p>
15 *
16 * @version $Revision: $ $Date: $
17 * @author 2011, last modified by $Author: $
18 */
19public interface IGUIElement extends IEventTarget {
20   
21    /**
22     * <p>
23     * TODO comment
24     * </p>
25     */
26    public IGUIElementSpec getSpecification();
27
28    /**
29     * <p>
30     * TODO comment
31     * </p>
32     */
33    public IGUIElement getParent();
34
35    /**
36     * <p>
37     * TODO comment
38     * </p>
39     * 
40     * @param other
41     * @return
42     */
43    public boolean equals(Object other);
44
45    /**
46     * <p>
47     * TODO comment
48     * </p>
49     */
50    public int hashCode();
51
52    /**
53     * <p>
54     * TODO comment
55     * </p>
56     */
57    public void updateSpecification(IGUIElementSpec furtherSpec);
58
59    /**
60     * <p>
61     * TODO: comment
62     * </p>
63     *
64     * @param guiElement
65     */
66    public void addEqualGUIElement(IGUIElement equalElement);
67}
Note: See TracBrowser for help on using the repository browser.