summaryrefslogtreecommitdiff
path: root/libjava/org/w3c/dom/events
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/org/w3c/dom/events')
-rw-r--r--libjava/org/w3c/dom/events/DocumentEvent.h36
-rw-r--r--libjava/org/w3c/dom/events/Event.h48
-rw-r--r--libjava/org/w3c/dom/events/EventException.h37
-rw-r--r--libjava/org/w3c/dom/events/EventListener.h36
-rw-r--r--libjava/org/w3c/dom/events/EventTarget.h39
-rw-r--r--libjava/org/w3c/dom/events/MouseEvent.h63
-rw-r--r--libjava/org/w3c/dom/events/MutationEvent.h55
-rw-r--r--libjava/org/w3c/dom/events/UIEvent.h52
8 files changed, 366 insertions, 0 deletions
diff --git a/libjava/org/w3c/dom/events/DocumentEvent.h b/libjava/org/w3c/dom/events/DocumentEvent.h
new file mode 100644
index 000000000..2fc955071
--- /dev/null
+++ b/libjava/org/w3c/dom/events/DocumentEvent.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_events_DocumentEvent__
+#define __org_w3c_dom_events_DocumentEvent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace events
+ {
+ class DocumentEvent;
+ class Event;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::events::DocumentEvent : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::events::Event * createEvent(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_events_DocumentEvent__
diff --git a/libjava/org/w3c/dom/events/Event.h b/libjava/org/w3c/dom/events/Event.h
new file mode 100644
index 000000000..7f1e90ee1
--- /dev/null
+++ b/libjava/org/w3c/dom/events/Event.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_events_Event__
+#define __org_w3c_dom_events_Event__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace events
+ {
+ class Event;
+ class EventTarget;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::events::Event : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getType() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getTarget() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getCurrentTarget() = 0;
+ virtual jshort getEventPhase() = 0;
+ virtual jboolean getBubbles() = 0;
+ virtual jboolean getCancelable() = 0;
+ virtual jlong getTimeStamp() = 0;
+ virtual void stopPropagation() = 0;
+ virtual void preventDefault() = 0;
+ virtual void initEvent(::java::lang::String *, jboolean, jboolean) = 0;
+ static const jshort CAPTURING_PHASE = 1;
+ static const jshort AT_TARGET = 2;
+ static const jshort BUBBLING_PHASE = 3;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_events_Event__
diff --git a/libjava/org/w3c/dom/events/EventException.h b/libjava/org/w3c/dom/events/EventException.h
new file mode 100644
index 000000000..20d2e8cfe
--- /dev/null
+++ b/libjava/org/w3c/dom/events/EventException.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_events_EventException__
+#define __org_w3c_dom_events_EventException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace events
+ {
+ class EventException;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::events::EventException : public ::java::lang::RuntimeException
+{
+
+public:
+ EventException(jshort, ::java::lang::String *);
+ jshort __attribute__((aligned(__alignof__( ::java::lang::RuntimeException)))) code;
+ static const jshort UNSPECIFIED_EVENT_TYPE_ERR = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __org_w3c_dom_events_EventException__
diff --git a/libjava/org/w3c/dom/events/EventListener.h b/libjava/org/w3c/dom/events/EventListener.h
new file mode 100644
index 000000000..8f34b3587
--- /dev/null
+++ b/libjava/org/w3c/dom/events/EventListener.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_events_EventListener__
+#define __org_w3c_dom_events_EventListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace events
+ {
+ class Event;
+ class EventListener;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::events::EventListener : public ::java::lang::Object
+{
+
+public:
+ virtual void handleEvent(::org::w3c::dom::events::Event *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_events_EventListener__
diff --git a/libjava/org/w3c/dom/events/EventTarget.h b/libjava/org/w3c/dom/events/EventTarget.h
new file mode 100644
index 000000000..b46815c4e
--- /dev/null
+++ b/libjava/org/w3c/dom/events/EventTarget.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_events_EventTarget__
+#define __org_w3c_dom_events_EventTarget__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace events
+ {
+ class Event;
+ class EventListener;
+ class EventTarget;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::events::EventTarget : public ::java::lang::Object
+{
+
+public:
+ virtual void addEventListener(::java::lang::String *, ::org::w3c::dom::events::EventListener *, jboolean) = 0;
+ virtual void removeEventListener(::java::lang::String *, ::org::w3c::dom::events::EventListener *, jboolean) = 0;
+ virtual jboolean dispatchEvent(::org::w3c::dom::events::Event *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_events_EventTarget__
diff --git a/libjava/org/w3c/dom/events/MouseEvent.h b/libjava/org/w3c/dom/events/MouseEvent.h
new file mode 100644
index 000000000..b5cdf776a
--- /dev/null
+++ b/libjava/org/w3c/dom/events/MouseEvent.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_events_MouseEvent__
+#define __org_w3c_dom_events_MouseEvent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace events
+ {
+ class EventTarget;
+ class MouseEvent;
+ }
+ namespace views
+ {
+ class AbstractView;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::events::MouseEvent : public ::java::lang::Object
+{
+
+public:
+ virtual jint getScreenX() = 0;
+ virtual jint getScreenY() = 0;
+ virtual jint getClientX() = 0;
+ virtual jint getClientY() = 0;
+ virtual jboolean getCtrlKey() = 0;
+ virtual jboolean getShiftKey() = 0;
+ virtual jboolean getAltKey() = 0;
+ virtual jboolean getMetaKey() = 0;
+ virtual jshort getButton() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getRelatedTarget() = 0;
+ virtual void initMouseEvent(::java::lang::String *, jboolean, jboolean, ::org::w3c::dom::views::AbstractView *, jint, jint, jint, jint, jint, jboolean, jboolean, jboolean, jboolean, jshort, ::org::w3c::dom::events::EventTarget *) = 0;
+ virtual ::org::w3c::dom::views::AbstractView * getView() = 0;
+ virtual jint getDetail() = 0;
+ virtual void initUIEvent(::java::lang::String *, jboolean, jboolean, ::org::w3c::dom::views::AbstractView *, jint) = 0;
+ virtual ::java::lang::String * getType() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getTarget() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getCurrentTarget() = 0;
+ virtual jshort getEventPhase() = 0;
+ virtual jboolean getBubbles() = 0;
+ virtual jboolean getCancelable() = 0;
+ virtual jlong getTimeStamp() = 0;
+ virtual void stopPropagation() = 0;
+ virtual void preventDefault() = 0;
+ virtual void initEvent(::java::lang::String *, jboolean, jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_events_MouseEvent__
diff --git a/libjava/org/w3c/dom/events/MutationEvent.h b/libjava/org/w3c/dom/events/MutationEvent.h
new file mode 100644
index 000000000..4f461f7af
--- /dev/null
+++ b/libjava/org/w3c/dom/events/MutationEvent.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_events_MutationEvent__
+#define __org_w3c_dom_events_MutationEvent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Node;
+ namespace events
+ {
+ class EventTarget;
+ class MutationEvent;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::events::MutationEvent : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::Node * getRelatedNode() = 0;
+ virtual ::java::lang::String * getPrevValue() = 0;
+ virtual ::java::lang::String * getNewValue() = 0;
+ virtual ::java::lang::String * getAttrName() = 0;
+ virtual jshort getAttrChange() = 0;
+ virtual void initMutationEvent(::java::lang::String *, jboolean, jboolean, ::org::w3c::dom::Node *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jshort) = 0;
+ virtual ::java::lang::String * getType() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getTarget() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getCurrentTarget() = 0;
+ virtual jshort getEventPhase() = 0;
+ virtual jboolean getBubbles() = 0;
+ virtual jboolean getCancelable() = 0;
+ virtual jlong getTimeStamp() = 0;
+ virtual void stopPropagation() = 0;
+ virtual void preventDefault() = 0;
+ virtual void initEvent(::java::lang::String *, jboolean, jboolean) = 0;
+ static const jshort MODIFICATION = 1;
+ static const jshort ADDITION = 2;
+ static const jshort REMOVAL = 3;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_events_MutationEvent__
diff --git a/libjava/org/w3c/dom/events/UIEvent.h b/libjava/org/w3c/dom/events/UIEvent.h
new file mode 100644
index 000000000..2cfbf843a
--- /dev/null
+++ b/libjava/org/w3c/dom/events/UIEvent.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_events_UIEvent__
+#define __org_w3c_dom_events_UIEvent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace events
+ {
+ class EventTarget;
+ class UIEvent;
+ }
+ namespace views
+ {
+ class AbstractView;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::events::UIEvent : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::views::AbstractView * getView() = 0;
+ virtual jint getDetail() = 0;
+ virtual void initUIEvent(::java::lang::String *, jboolean, jboolean, ::org::w3c::dom::views::AbstractView *, jint) = 0;
+ virtual ::java::lang::String * getType() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getTarget() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getCurrentTarget() = 0;
+ virtual jshort getEventPhase() = 0;
+ virtual jboolean getBubbles() = 0;
+ virtual jboolean getCancelable() = 0;
+ virtual jlong getTimeStamp() = 0;
+ virtual void stopPropagation() = 0;
+ virtual void preventDefault() = 0;
+ virtual void initEvent(::java::lang::String *, jboolean, jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_events_UIEvent__