Ignore:
Timestamp:
10/26/12 09:13:20 (12 years ago)
Author:
pharms
Message:
  • added support for providing horizontal scroll position
  • added support for selected values in text fields and other form elements
File:
1 edited

Legend:

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

    r927 r942  
    6060     * if the event is a scroll event, the resulting position of the scrolled element 
    6161     */ 
    62     private Integer scrollPosition; 
     62    private Integer[] scrollPosition; 
     63 
     64    /** 
     65     * if the event is an on change event, the value to which the changed element is changed 
     66     */ 
     67    private String selectedValue; 
    6368 
    6469    /** 
     
    7681     * @param scrollPosition if the event is a scroll event, the resulting position of the 
    7782     *                       scrolled element 
     83     * @param selectedValue  if the event is an on change event, the value to which the changed 
     84     *                       element is changed 
    7885     */ 
    7986    HtmlEvent(HtmlClientInfos clientInfos, 
     
    8390              Integer[]       coordinates, 
    8491              Integer         key, 
    85               Integer         scrollPosition) 
     92              Integer[]       scrollPosition, 
     93              String          selectedValue) 
    8694    { 
    8795        this.clientInfos = clientInfos; 
     
    92100        this.key = key; 
    93101        this.scrollPosition = scrollPosition; 
     102        this.selectedValue = selectedValue; 
    94103    } 
    95104 
     
    139148     * @return the scrollPosition 
    140149     */ 
    141     Integer getScrollPosition() { 
     150    Integer[] getScrollPosition() { 
    142151        return scrollPosition; 
    143152    } 
    144153 
     154    /** 
     155     * @return the selectedValue 
     156     */ 
     157    String getSelectedValue() { 
     158        return selectedValue; 
     159    } 
     160 
    145161} 
Note: See TracChangeset for help on using the changeset viewer.