Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.dom
Class Event

java.lang.Object
  extended by org.jboss.arquillian.ajocado.dom.Event

public class Event
extends Object

Encapsulates event definitions from DOM Events model.

Events matches it's equivalents in JavaScript, where are used "onevent" for binding with event called "event".

Version:
$Revision$
Author:
Lukas Fryc

Field Summary
static Event ABORT
          The event definition for 'abort'
static Event BLUR
          The event definition for 'blur'
static Event CHANGE
          The event definition for 'change'
static Event CLICK
          The event definition for 'click'
static Event DBLCLICK
          The event definition for 'dblclick'
static Event ERROR
          The event definition for 'error'
static Event FOCUS
          The event definition for 'focus'
static Event KEYDOWN
          The event definition for 'keydown'
static Event KEYPRESS
          The event definition for 'keypress'
static Event KEYUP
          The event definition for 'keyup'
static Event LOAD
          The event definition for 'load'
static Event MOUSEDOWN
          The event definition for 'mousedown'
static Event MOUSEMOVE
          The event definition for 'mousemove'
static Event MOUSEOUT
          The event definition for 'mouseout'
static Event MOUSEOVER
          The event definition for 'mouseover'
static Event MOUSEUP
          The event definition for 'mouseup'
static Event RESET
          The event definition for 'reset'
static Event RESIZE
          The event definition for 'resize'
static Event SELECT
          The event definition for 'select'
static Event SUBMIT
          The event definition for 'submit'
static Event UNLOAD
          The event definition for 'unload'
 
Constructor Summary
Event(String eventName)
          Initializes new event.
 
Method Summary
 String getEventName()
          Returns the name of this event as it is specified in DOM Event model.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ABORT

public static final Event ABORT
The event definition for 'abort'


BLUR

public static final Event BLUR
The event definition for 'blur'


CHANGE

public static final Event CHANGE
The event definition for 'change'


CLICK

public static final Event CLICK
The event definition for 'click'


DBLCLICK

public static final Event DBLCLICK
The event definition for 'dblclick'


ERROR

public static final Event ERROR
The event definition for 'error'


FOCUS

public static final Event FOCUS
The event definition for 'focus'


KEYDOWN

public static final Event KEYDOWN
The event definition for 'keydown'


KEYPRESS

public static final Event KEYPRESS
The event definition for 'keypress'


KEYUP

public static final Event KEYUP
The event definition for 'keyup'


LOAD

public static final Event LOAD
The event definition for 'load'


MOUSEDOWN

public static final Event MOUSEDOWN
The event definition for 'mousedown'


MOUSEMOVE

public static final Event MOUSEMOVE
The event definition for 'mousemove'


MOUSEOUT

public static final Event MOUSEOUT
The event definition for 'mouseout'


MOUSEOVER

public static final Event MOUSEOVER
The event definition for 'mouseover'


MOUSEUP

public static final Event MOUSEUP
The event definition for 'mouseup'


RESET

public static final Event RESET
The event definition for 'reset'


RESIZE

public static final Event RESIZE
The event definition for 'resize'


SELECT

public static final Event SELECT
The event definition for 'select'


SUBMIT

public static final Event SUBMIT
The event definition for 'submit'


UNLOAD

public static final Event UNLOAD
The event definition for 'unload'

Constructor Detail

Event

public Event(String eventName)

Initializes new event.

Use for extending event model as it can became out-of-date.

Parameters:
eventName - the name for event in DOM Event model
Method Detail

getEventName

public String getEventName()
Returns the name of this event as it is specified in DOM Event model.

Returns:
the event name

toString

public String toString()
Overrides:
toString in class Object

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.