Ignore:
Timestamp:
10/12/12 14:04:09 (12 years ago)
Author:
pharms
Message:
  • added some comments
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlEvent.java

    r857 r870  
    33/** 
    44 * <p> 
    5  * TODO comment 
     5 * represents an event caused by a user on a specific web site. An event contains the infos 
     6 * about the client ({@link HtmlClientInfos}, when ant where the event took place, the type of 
     7 * event and some additional infos such as the event coordinates or the number of the pressed 
     8 * key.  
    69 * </p> 
    710 *  
     
    1114 
    1215    /** 
    13      *  
     16     * infos about the client that caused the event 
    1417     */ 
    1518    private HtmlClientInfos clientInfos; 
    1619 
    1720    /** 
    18      *  
     21     * the time stamp of the event 
    1922     */ 
    2023    private Long time; 
    2124 
    2225    /** 
    23      *  
     26     * the path in the HTML DOM to the object on which the event was executed 
    2427     */ 
    2528    private String path; 
    2629 
    2730    /** 
    28      *  
     31     * the type of the event, e.g. onclick 
    2932     */ 
    3033    private String eventType; 
    3134 
    3235    /** 
    33      *  
     36     * the coordinates of the event, usually an array with two values (x and y) 
    3437     */ 
    3538    private Integer[] coordinates; 
    3639 
    3740    /** 
    38      *  
     41     * if the event is a key event, the key that was pressed or released 
    3942     */ 
    4043    private Integer key; 
    4144 
    4245    /** 
    43      *  
     46     * if the event is a scroll event, the resulting position of the scrolled element 
    4447     */ 
    4548    private Integer scrollPosition; 
     
    4750    /** 
    4851     * <p> 
    49      * TODO: comment 
     52     * initializes the event with all relevantinfos 
    5053     * </p> 
    5154     * 
    52      * @param clientInfos 
    53      * @param time 
    54      * @param path 
    55      * @param eventType 
    56      * @param coordinates 
    57      * @param key 
    58      * @param scrollPosition 
     55     * @param clientInfos    infos about the client that caused the event 
     56     * @param time           the time stamp of the event 
     57     * @param path           the path in the HTML DOM to the object on which the event was executed 
     58     * @param eventType      the type of the event, e.g. onclick 
     59     * @param coordinates    the coordinates of the event, usually an array with two values 
     60     *                       (x and y) 
     61     * @param key            if the event is a key event, the key that was pressed or released 
     62     * @param scrollPosition if the event is a scroll event, the resulting position of the 
     63     *                       scrolled element 
    5964     */ 
    6065    HtmlEvent(HtmlClientInfos clientInfos, 
Note: See TracChangeset for help on using the changeset viewer.