LibreOffice
LibreOffice 7.2 SDK API Reference
EventType.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef __com_sun_star_xml_dom_events_EventType_idl__
21 #define __com_sun_star_xml_dom_events_EventType_idl__
22 
23 module com { module sun { module star { module xml { module dom { module events {
24 
26 {
28  /*
29  The DOMFocusIn event occurs when an EventTarget receives focus, for instance via a pointing device being moved onto an element or by tabbing navigation to the element. Unlike the HTML event focus, DOMFocusIn can be applied to any focusable EventTarget, not just FORM controls.
30  * Bubbles: Yes
31  * Cancelable: No
32  * Context Info: None
33  */
34 
36  /*
37  The DOMFocusOut event occurs when an EventTarget loses focus, for instance via a pointing device being moved out of an element or by tabbing navigation out of the element. Unlike the HTML event blur, DOMFocusOut can be applied to any focusable EventTarget, not just FORM controls.
38  * Bubbles: Yes
39  * Cancelable: No
40  * Context Info: None
41  */
42 
44  /*
45  The activate event occurs when an element is activated, for instance, through a mouse click or a key press. A numerical argument is provided to give an indication of the type of activation that occurs: 1 for a simple activation (e.g. a simple click or Enter), 2 for hyper activation (for instance a double click or Shift Enter).
46  * Bubbles: Yes
47  * Cancelable: Yes
48  * Context Info: detail (the numerical value)
49  */
50 
52  /*
53  The click event occurs when the pointing device button is clicked over an element.
54  A click is defined as a mousedown and mouseup over the same screen location.
55  The sequence of these events is:
56 
57  mousedown
58  mouseup
59  click
60 
61  If multiple clicks occur at the same screen location, the sequence repeats with the detail attribute incrementing with each repetition. This event is valid for most elements.
62 
63  * Bubbles: Yes
64  * Cancelable: Yes
65  * Context Info: screenX, screenY, clientX, clientY, altKey, ctrlKey, shiftKey, metaKey, button, detail
66  */
67 
69  /*
70  The mousedown event occurs when the pointing device button is pressed over an element. This event is valid for most elements.
71  * Bubbles: Yes
72  * Cancelable: Yes
73  * Context Info: screenX, screenY, clientX, clientY, altKey, ctrlKey, shiftKey, metaKey, button, detail
74  */
75 
77  /*
78  The mouseup event occurs when the pointing device button is released over an element. This event is valid for most elements.
79  * Bubbles: Yes
80  * Cancelable: Yes
81  * Context Info: screenX, screenY, clientX, clientY, altKey, ctrlKey, shiftKey, metaKey, button, detail
82  */
83 
85  /*
86  The mouseover event occurs when the pointing device is moved onto an element. This event is valid for most elements.
87  * Bubbles: Yes
88  * Cancelable: Yes
89  * Context Info: screenX, screenY, clientX, clientY, altKey, ctrlKey, shiftKey, metaKey, relatedTarget indicates the EventTarget the pointing device is exiting.
90  */
91 
93  /*
94  The mousemove event occurs when the pointing device is moved while it is over an element. This event is valid for most elements.
95  * Bubbles: Yes
96  * Cancelable: No
97  * Context Info: screenX, screenY, clientX, clientY, altKey, ctrlKey, shiftKey, metaKey
98  */
99 
101  /*
102  The mouseout event occurs when the pointing device is moved away from an element. This event is valid for most elements...
103  * Bubbles: Yes
104  * Cancelable: Yes
105  * Context Info: screenX, screenY, clientX, clientY, altKey, ctrlKey, shiftKey, metaKey, relatedTarget indicates the EventTarget the pointing device is entering.
106  */
107 
109  /*
110  This is a general event for notification of all changes to the document. It can be used instead of the more specific events listed below. It may be fired after a single modification to the document or, at the implementation's discretion, after multiple changes have occurred. The latter use should generally be used to accommodate multiple changes which occur either simultaneously or in rapid succession. The target of this event is the lowest common parent of the changes which have taken place. This event is dispatched after any other events caused by the mutation have fired.
111  * Bubbles: Yes
112  * Cancelable: No
113  * Context Info: None
114  */
115 
117  /*
118  Fired when a node has been added as a child of another node. This event is dispatched after the insertion has taken place. The target of this event is the node being inserted.
119  * Bubbles: Yes
120  * Cancelable: No
121  * Context Info: relatedNode holds the parent node
122  */
123 
125  /*
126  Fired when a node is being removed from its parent node. This event is dispatched before the node is removed from the tree. The target of this event is the node being removed.
127  * Bubbles: Yes
128  * Cancelable: No
129  * Context Info: relatedNode holds the parent node
130  */
131 
133  /*
134  Fired when a node is being removed from a document, either through direct removal of the Node or removal of a subtree in which it is contained. This event is dispatched before the removal takes place. The target of this event is the Node being removed. If the Node is being directly removed the DOMNodeRemoved event will fire before the DOMNodeRemovedFromDocument event.
135  * Bubbles: No
136  * Cancelable: No
137  * Context Info: None
138  */
139 
141  /*
142  Fired when a node is being inserted into a document, either through direct insertion of the Node or insertion of a subtree in which it is contained. This event is dispatched after the insertion has taken place. The target of this event is the node being inserted. If the Node is being directly inserted the DOMNodeInserted event will fire before the DOMNodeInsertedIntoDocument event.
143  * Bubbles: No
144  * Cancelable: No
145  * Context Info: None
146  */
147 
149  /*
150  Fired after an Attr has been modified on a node. The target of this event is the Node whose Attr changed. The value of attrChange indicates whether the Attr was modified, added, or removed. The value of relatedNode indicates the Attr node whose value has been affected. It is expected that string based replacement of an Attr value will be viewed as a modification of the Attr since its identity does not change. Subsequently replacement of the Attr node with a different Attr node is viewed as the removal of the first Attr node and the addition of the second.
151  * Bubbles: Yes
152  * Cancelable: No
153  * Context Info: attrName, attrChange, prevValue, newValue, relatedNode
154  */
155 
157  /*
158  Fired after CharacterData within a node has been modified but the node itself has not been inserted or deleted. This event is also triggered by modifications to PI elements. The target of this event is the CharacterData node.
159  * Bubbles: Yes
160  * Cancelable: No
161  * Context Info: prevValue, newValue
162  */
163 };
164 }; }; }; }; }; };
165 
166 #endif
167 
168 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
EventType
Definition: EventType.idl:26
@ DOMAttrModified
Definition: EventType.idl:148
@ DOMNodeInserted
Definition: EventType.idl:116
@ mousedown
Definition: EventType.idl:68
@ DOMNodeRemovedFromDocument
Definition: EventType.idl:132
@ mouseup
Definition: EventType.idl:76
@ DOMCharacterDataModified
Definition: EventType.idl:156
@ DOMNodeRemoved
Definition: EventType.idl:124
@ mouseout
Definition: EventType.idl:100
@ DOMSubtreeModified
Definition: EventType.idl:108
@ mouseover
Definition: EventType.idl:84
@ click
Definition: EventType.idl:51
@ DOMFocusOut
Definition: EventType.idl:35
@ DOMNodeInsertedIntoDocument
Definition: EventType.idl:140
@ DOMFocusIn
Definition: EventType.idl:27
@ mousemove
Definition: EventType.idl:92
@ DOMActivate
Definition: EventType.idl:43
Definition: Ambiguous.idl:22