Changeset 1223 for trunk/autoquest-plugin-html/src/main
- Timestamp:
- 06/25/13 15:28:22 (11 years ago)
- Location:
- trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/eventcore/HTMLEventTypeFactory.java
r1219 r1223 26 26 import de.ugoe.cs.autoquest.eventcore.gui.Scroll; 27 27 import de.ugoe.cs.autoquest.eventcore.gui.TextInput; 28 import de.ugoe.cs.autoquest.eventcore.gui.ValueSelection; 29 import de.ugoe.cs.autoquest.eventcore.guimodel.ICheckBox; 28 30 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; 31 import de.ugoe.cs.autoquest.eventcore.guimodel.IRadioButton; 29 32 import de.ugoe.cs.autoquest.eventcore.guimodel.ITextArea; 30 33 import de.ugoe.cs.autoquest.eventcore.guimodel.ITextField; … … 98 101 result = new TextInput(value, null); 99 102 } 103 else if ((guiElement instanceof IRadioButton) || (guiElement instanceof ICheckBox)) { 104 result = new ValueSelection<String>(value); 105 } 100 106 else { 101 107 throw new IllegalArgumentException("can not handle onchange events on GUI " + … … 108 114 else if ("onunload".equals(eventName) || "onbeforeunload".equals(eventName) || 109 115 "onpagehide".equals(eventName) || "onpageshow".equals(eventName) || 110 "onsubmit".equals(eventName) || "onselect".equals(eventName)) 116 "onsubmit".equals(eventName) || "onselect".equals(eventName) || 117 "onreset".equals(eventName)) 111 118 { 112 119 Console.traceln(Level.FINE, "Ignored event name \"" + eventName + "\"");
Note: See TracChangeset
for help on using the changeset viewer.