public final class Event
extends java.lang.Object
| Constructor and Description | 
|---|
| Event(Element element,
     FireWebApplication application)Create event object with element event context. | 
| Event(FireWebApplication application)Create event object without event context data. | 
| Event(java.lang.Object data,
     FireWebApplication application)Create event object with event context data. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T extends FireWebApplication> | getApplication()Context application of the event. | 
| java.lang.String | getBookmark()If event OnBookmark value contains SPA history key (part after # of
 URL). | 
| <T> T | getData()Get event context data. | 
| <T extends Element> | getElement()Get element on which event had happen. | 
| java.lang.Class<? extends java.lang.annotation.Annotation> | getEventType() | 
| java.lang.String | getPrompt()Get string of prompt result of prompt JavaScript function. | 
| <T extends Element> | getTarget()Get web element which is the target element of the event. | 
| org.json.JSONArray | getTargetElementValue()Looking for value of target element on which event had happen. | 
| org.json.JSONArray | getValue()Looking for value of element on which event had happen. | 
| org.json.JSONArray | getValue(Element wo)Looking for value of element at event values. | 
| java.util.Map<java.lang.String,org.json.JSONArray> | getValues()Unmodifiable map of values received with browser event. | 
| boolean | isConfirmed()The result of confirm JavaScript function | 
| Event | setData(java.lang.Object data)Set event context data. | 
public Event(FireWebApplication application)
application - application context of the eventpublic Event(java.lang.Object data,
             FireWebApplication application)
data - Event context data objectapplication - application context of the eventpublic Event(Element element, FireWebApplication application)
element - context event elementapplication - application context of the eventpublic java.util.Map<java.lang.String,org.json.JSONArray> getValues()
public org.json.JSONArray getValue(Element wo)
wo - StyleElement of which you looking value.public org.json.JSONArray getValue()
public org.json.JSONArray getTargetElementValue()
public boolean isConfirmed()
public java.lang.String getPrompt()
public java.lang.String getBookmark()
public <T extends Element> T getTarget()
T - type of elementpublic <T extends Element> T getElement()
T - type of elementpublic <T> T getData()
T - type of datapublic Event setData(java.lang.Object data)
data - the data to setpublic java.lang.Class<? extends java.lang.annotation.Annotation> getEventType()
public <T extends FireWebApplication> T getApplication()
T - type of element