|
|||||||||
| Home >> All >> org >> apache >> batik >> dom >> [ events overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.dom.events
Class DocumentEventSupport

java.lang.Objectorg.apache.batik.dom.events.DocumentEventSupport
- public class DocumentEventSupport
- extends java.lang.Object
This class implements the behavior of DocumentEvent.
- Version:
- $Id: DocumentEventSupport.java,v 1.7 2005/02/22 09:12:59 cam Exp $
| Nested Class Summary | |
static interface |
DocumentEventSupport.EventFactory
This interface represents an event factory. |
protected static class |
DocumentEventSupport.KeyEventFactory
To create a key event. |
protected static class |
DocumentEventSupport.MouseEventFactory
To create a mouse event. |
protected static class |
DocumentEventSupport.MutationEventFactory
To create a mutation event. |
protected static class |
DocumentEventSupport.SimpleEventFactory
To create a simple event. |
protected static class |
DocumentEventSupport.UIEventFactory
To create a UI event. |
| Field Summary | |
static java.lang.String |
EVENT_TYPE
The Event type. |
protected org.apache.batik.dom.util.HashTable |
eventFactories
The event factories table. |
static java.lang.String |
KEY_EVENT_TYPE
The KeyEvent type. |
static java.lang.String |
MOUSE_EVENT_TYPE
The MouseEvent type. |
static java.lang.String |
MUTATION_EVENT_TYPE
The MutationEvent type. |
static java.lang.String |
UI_EVENT_TYPE
The UIEvent type. |
| Constructor Summary | |
DocumentEventSupport()
|
|
| Method Summary | |
org.w3c.dom.events.Event |
createEvent(java.lang.String eventType)
Creates a new Event depending on the specified parameter. |
void |
registerEventFactory(java.lang.String eventType,
DocumentEventSupport.EventFactory factory)
Registers a new EventFactory object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
EVENT_TYPE
public static final java.lang.String EVENT_TYPE
- The Event type.
- See Also:
- Constant Field Values
MUTATION_EVENT_TYPE
public static final java.lang.String MUTATION_EVENT_TYPE
- The MutationEvent type.
- See Also:
- Constant Field Values
MOUSE_EVENT_TYPE
public static final java.lang.String MOUSE_EVENT_TYPE
- The MouseEvent type.
- See Also:
- Constant Field Values
UI_EVENT_TYPE
public static final java.lang.String UI_EVENT_TYPE
- The UIEvent type.
- See Also:
- Constant Field Values
KEY_EVENT_TYPE
public static final java.lang.String KEY_EVENT_TYPE
- The KeyEvent type.
- See Also:
- Constant Field Values
eventFactories
protected org.apache.batik.dom.util.HashTable eventFactories
- The event factories table.
| Constructor Detail |
DocumentEventSupport
public DocumentEventSupport()
| Method Detail |
createEvent
public org.w3c.dom.events.Event createEvent(java.lang.String eventType) throws org.w3c.dom.DOMException
- Creates a new Event depending on the specified parameter.
registerEventFactory
public void registerEventFactory(java.lang.String eventType, DocumentEventSupport.EventFactory factory)
- Registers a new EventFactory object.
|
|||||||||
| Home >> All >> org >> apache >> batik >> dom >> [ events overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.batik.dom.events.DocumentEventSupport