fi.hut.tml.xsmiles.dom
Class EventFactory

java.lang.Object
  extended byfi.hut.tml.xsmiles.dom.EventFactory
Direct Known Subclasses:
XFormsEventFactory, XHTMLEventFactory

public class EventFactory
extends java.lang.Object

The factory for creating DOM event instances


Field Summary
static java.lang.String DOMACTIVATE_EVENT
           
static java.lang.String DOMFOCUSIN_EVENT
           
static java.lang.String DOMFOCUSOUT_EVENT
           
static java.lang.String XSMILES_MESSAGE_CLOSE_EVENT
          dispatch a custom DOM event, so that xforms message can listen to external window closing and set the pseudoclass correctly
 
Constructor Summary
EventFactory()
           
 
Method Summary
static org.w3c.dom.events.Event createEvent(java.lang.String eventType)
           
static org.w3c.dom.events.Event createEvent(java.lang.String eventType, boolean canBubble, boolean cancelable)
           
static UIEventImpl createUIEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, int info)
          Deprecated. use method createEvent(String eventType) instead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOMFOCUSIN_EVENT

public static final java.lang.String DOMFOCUSIN_EVENT
See Also:
Constant Field Values

DOMFOCUSOUT_EVENT

public static final java.lang.String DOMFOCUSOUT_EVENT
See Also:
Constant Field Values

DOMACTIVATE_EVENT

public static final java.lang.String DOMACTIVATE_EVENT
See Also:
Constant Field Values

XSMILES_MESSAGE_CLOSE_EVENT

public static final java.lang.String XSMILES_MESSAGE_CLOSE_EVENT
dispatch a custom DOM event, so that xforms message can listen to external window closing and set the pseudoclass correctly

See Also:
Constant Field Values
Constructor Detail

EventFactory

public EventFactory()
Method Detail

createEvent

public static org.w3c.dom.events.Event createEvent(java.lang.String eventType)
                                            throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

createEvent

public static org.w3c.dom.events.Event createEvent(java.lang.String eventType,
                                                   boolean canBubble,
                                                   boolean cancelable)

createUIEvent

public static UIEventImpl createUIEvent(java.lang.String typeArg,
                                        boolean canBubbleArg,
                                        boolean cancelableArg,
                                        org.w3c.dom.views.AbstractView viewArg,
                                        int info)
Deprecated. use method createEvent(String eventType) instead

Parameters:
typeArg -
canBubbleArg -
cancelableArg -
viewArg -
info -
Returns:


X-Smiles 1.2