| 1 |
wakaba |
1.1 |
Namespace: |
| 2 |
|
|
@DOMCore: |
| 3 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/dom-core# |
| 4 |
|
|
@DOMEvents: |
| 5 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/dom/events# |
| 6 |
|
|
@DOMViews: |
| 7 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/dom/views# |
| 8 |
|
|
@ev: |
| 9 |
|
|
http://www.w3.org/2001/xml-events |
| 10 |
|
|
@lang: |
| 11 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/lang# |
| 12 |
|
|
@license: |
| 13 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/license# |
| 14 |
|
|
@ManakaiDOMEvents: |
| 15 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/mdom-ev# |
| 16 |
|
|
@TreeCore:\ |
| 17 |
|
|
Module: |
| 18 |
|
|
@Name: DOMTextEvents |
| 19 |
|
|
@Namespace: |
| 20 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/dom/events# |
| 21 |
|
|
@BindingName: |
| 22 |
|
|
@@@: events |
| 23 |
|
|
@@Type: |
| 24 |
|
|
lang:IDL-DOM |
| 25 |
|
|
@@prefix: dom.w3c.org |
| 26 |
|
|
@FullName: |
| 27 |
|
|
@@lang:en |
| 28 |
|
|
@@@: DOM Text Events Module |
| 29 |
|
|
|
| 30 |
|
|
@Author: |
| 31 |
|
|
@@FullName: Wakaba |
| 32 |
|
|
@@Mail: [email protected] |
| 33 |
|
|
@License: |
| 34 |
|
|
license:Perl+MPL |
| 35 |
|
|
@Date.RCS: |
| 36 |
|
|
$Date: 2004/10/11 12:02:00 $ |
| 37 |
|
|
|
| 38 |
|
|
@ConditionDef: |
| 39 |
|
|
@@Name:DOM3 |
| 40 |
|
|
@NormalCondition:DOM3 |
| 41 |
|
|
|
| 42 |
|
|
@Feature: |
| 43 |
|
|
@@Name:TextEvents |
| 44 |
|
|
@@Version:3.0 |
| 45 |
|
|
@@FullName: DOM Level 3 Text Events |
| 46 |
|
|
@@ImplNote: |
| 47 |
|
|
@@@lang:en |
| 48 |
|
|
@@@@: |
| 49 |
|
|
The support for <Feature:UIEvents>/<FeatureVer:3.0> is required. |
| 50 |
|
|
@@Condition[list]: |
| 51 |
|
|
DOM3 |
| 52 |
|
|
@@Contrib: |
| 53 |
|
|
DOMCore:DOMImplementation:: |
| 54 |
|
|
|
| 55 |
|
|
@Require: |
| 56 |
|
|
@@Module: |
| 57 |
|
|
@@@Name: DOMUIEvents |
| 58 |
|
|
@@@FileName: |
| 59 |
|
|
@@@@@: events.idl |
| 60 |
|
|
@@@@For: |
| 61 |
|
|
lang:IDL-DOM |
| 62 |
|
|
@@@Namespace: |
| 63 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/dom/events# |
| 64 |
|
|
|
| 65 |
|
|
EventSet: |
| 66 |
|
|
@Event: |
| 67 |
|
|
@@QName: |
| 68 |
|
|
ev:textInput |
| 69 |
|
|
@@Description: |
| 70 |
|
|
@@@lang:en |
| 71 |
|
|
@@@@: |
| 72 |
|
|
One or more characters have been entered. |
| 73 |
|
|
\ |
| 74 |
|
|
{eg: |
| 75 |
|
|
\ |
| 76 |
|
|
- A key is pressed or released on a keyboard device. |
| 77 |
|
|
\ |
| 78 |
|
|
- Characters are passed from an input method editor. |
| 79 |
|
|
\ |
| 80 |
|
|
- Characters are passed as the result of a voice command. |
| 81 |
|
|
\ |
| 82 |
|
|
- A <QUOTE:paste> operation generates a simple |
| 83 |
|
|
sequence of characters (a text without any structure or |
| 84 |
|
|
style information). |
| 85 |
|
|
\ |
| 86 |
|
|
} |
| 87 |
|
|
@@Type:TextEvent |
| 88 |
|
|
@@IsBubbling:1 |
| 89 |
|
|
@@IsCancelable:1 |
| 90 |
|
|
@@EventTarget: |
| 91 |
|
|
@@@Type: |
| 92 |
|
|
DOMCore:Element |
| 93 |
|
|
@@SpecLevel:3 |
| 94 |
|
|
@@ContextInfo: |
| 95 |
|
|
@@@Attr: |
| 96 |
|
|
@@@@IF: |
| 97 |
|
|
DOMUIEvents:UIEvent |
| 98 |
|
|
@@@@Name:view |
| 99 |
|
|
@@@Attr: |
| 100 |
|
|
@@@@IF:TextEvent |
| 101 |
|
|
@@@@Name:data |
| 102 |
|
|
##ErrorSet |
| 103 |
|
|
|
| 104 |
|
|
IF: |
| 105 |
|
|
@Name: TextEvent |
| 106 |
|
|
@Description: |
| 107 |
|
|
@@lang:en |
| 108 |
|
|
@@@: |
| 109 |
|
|
Provide specific contextual information associated with |
| 110 |
|
|
Text Events. |
| 111 |
|
|
@Example: |
| 112 |
|
|
@@FullName: |
| 113 |
|
|
@@@lang:en |
| 114 |
|
|
@@@@: |
| 115 |
|
|
Create an instance of the <IF:TextEvent> interface |
| 116 |
|
|
@@Code: |
| 117 |
|
|
@@@Type: |
| 118 |
|
|
lang:Perl |
| 119 |
|
|
@@@@: |
| 120 |
|
|
my $txtev = $DocumentEvent.createEvent ('TextEvent'); |
| 121 |
|
|
|
| 122 |
|
|
@ISA: |
| 123 |
|
|
DOMUIEvents:UIEvent |
| 124 |
|
|
@Role: |
| 125 |
|
|
@@@: |
| 126 |
|
|
DOMEvents:Event |
| 127 |
|
|
@@compat: |
| 128 |
|
|
ManakaiDOMEvents:Events |
| 129 |
|
|
|
| 130 |
|
|
@Level[list]: 3 |
| 131 |
|
|
@SpecLevel[list]: 3 |
| 132 |
|
|
@Attr: |
| 133 |
|
|
@@Name: data |
| 134 |
|
|
@@Description: |
| 135 |
|
|
@@@lang:en |
| 136 |
|
|
@@@@: |
| 137 |
|
|
The value of the characters generated by the |
| 138 |
|
|
character device. |
| 139 |
|
|
@@Get: |
| 140 |
|
|
@@@Type: |
| 141 |
|
|
DOMMain:DOMString |
| 142 |
|
|
@@@Description: |
| 143 |
|
|
@@@@lang:en |
| 144 |
|
|
@@@@@: |
| 145 |
|
|
Characters generated by the device. This may be |
| 146 |
|
|
a single UCS character or a non-empty sequence of |
| 147 |
|
|
characters. |
| 148 |
|
|
@@@ImplNote: |
| 149 |
|
|
@@@@lang:en |
| 150 |
|
|
@@@@@: |
| 151 |
|
|
Characters should be normalized by NFC. |
| 152 |
|
|
@@@ImplNote: |
| 153 |
|
|
@@@@lang:en |
| 154 |
|
|
@@@@@: |
| 155 |
|
|
The value cannot be <DOM:null> or an empty string. |
| 156 |
|
|
@@@Def: |
| 157 |
|
|
@@@@Type: |
| 158 |
|
|
lang:dis |
| 159 |
|
|
@@@@GetProp: |
| 160 |
|
|
DOMTextEvents:data |
| 161 |
|
|
@Method: |
| 162 |
|
|
@@Name: initTextEvent |
| 163 |
|
|
@@Description: |
| 164 |
|
|
@@@lang:en |
| 165 |
|
|
@@@@: |
| 166 |
|
|
Initialize the value of a <IF:TextEvent> object. It has |
| 167 |
|
|
the same behavior as <M:UIEvent.initUIEvent>. |
| 168 |
|
|
@@NSVersion:initTextEventNS |
| 169 |
|
|
@@Param: |
| 170 |
|
|
@@@Name: typeArg |
| 171 |
|
|
@@@Type: |
| 172 |
|
|
DOMMain:DOMString |
| 173 |
|
|
@@Param: |
| 174 |
|
|
@@@Name: canBubbleArg |
| 175 |
|
|
@@@Type: |
| 176 |
|
|
DOMMain:boolean |
| 177 |
|
|
@@@InCase: |
| 178 |
|
|
@@@@Value: true |
| 179 |
|
|
@@@InCase: |
| 180 |
|
|
@@@@Value: false |
| 181 |
|
|
@@Param: |
| 182 |
|
|
@@@Name: cancelableArg |
| 183 |
|
|
@@@Type: |
| 184 |
|
|
DOMMain:boolean |
| 185 |
|
|
@@@InCase: |
| 186 |
|
|
@@@@Value: true |
| 187 |
|
|
@@@InCase: |
| 188 |
|
|
@@@@Value: false |
| 189 |
|
|
@@Param: |
| 190 |
|
|
@@@Name: viewArg |
| 191 |
|
|
@@@Type: |
| 192 |
|
|
DOMViews:AbstractView |
| 193 |
|
|
@@Param: |
| 194 |
|
|
@@@Name: dataArg |
| 195 |
|
|
@@@Type: |
| 196 |
|
|
DOMMain:DOMString |
| 197 |
|
|
@@Return: |
| 198 |
|
|
@@@Def: |
| 199 |
|
|
@@@@Type: |
| 200 |
|
|
lang:Perl |
| 201 |
|
|
@@@@@: |
| 202 |
|
|
__DEEP{ |
| 203 |
|
|
## Conditional |
| 204 |
|
|
$self->__SUPER{UIEvent}__::initUIEvent |
| 205 |
|
|
($typeArg, $canBubbleArg, $cancelableArg, |
| 206 |
|
|
$viewArg, null); |
| 207 |
|
|
}__; ## NOTE: $detailArg not used |
| 208 |
|
|
for ($self->{<Q:TreeCore:node>}) { |
| 209 |
|
|
$_->{<Q:DOMTextEvents:data>} = $dataArg; |
| 210 |
|
|
} |
| 211 |
|
|
@@SpecLevel:3 |
| 212 |
|
|
@@Level[list]: |
| 213 |
|
|
3 |
| 214 |
|
|
@Method: |
| 215 |
|
|
@@Name: initTextEventNS |
| 216 |
|
|
@@Description: |
| 217 |
|
|
@@@lang:en |
| 218 |
|
|
@@@@: |
| 219 |
|
|
Initialize the value of a <IF:TextEvent> object. It has |
| 220 |
|
|
the same behavior as <M:UIEvent.initTextEventNS>. |
| 221 |
|
|
@@Param: |
| 222 |
|
|
@@@Name: namespaceURI |
| 223 |
|
|
@@@Type: |
| 224 |
|
|
ManakaiDOM:ManakaiDOMNamespaceURI |
| 225 |
|
|
@@Param: |
| 226 |
|
|
@@@Name: type |
| 227 |
|
|
@@@Type: |
| 228 |
|
|
DOMMain:DOMString |
| 229 |
|
|
@@Param: |
| 230 |
|
|
@@@Name: canBubbleArg |
| 231 |
|
|
@@@Type: |
| 232 |
|
|
DOMMain:boolean |
| 233 |
|
|
@@@InCase: |
| 234 |
|
|
@@@@Value: true |
| 235 |
|
|
@@@InCase: |
| 236 |
|
|
@@@@Value: false |
| 237 |
|
|
@@Param: |
| 238 |
|
|
@@@Name: cancelableArg |
| 239 |
|
|
@@@Type: |
| 240 |
|
|
DOMMain:boolean |
| 241 |
|
|
@@@InCase: |
| 242 |
|
|
@@@@Value: true |
| 243 |
|
|
@@@InCase: |
| 244 |
|
|
@@@@Value: false |
| 245 |
|
|
@@Param: |
| 246 |
|
|
@@@Name: viewArg |
| 247 |
|
|
@@@Type: |
| 248 |
|
|
DOMViews:AbstractView |
| 249 |
|
|
@@Param: |
| 250 |
|
|
@@@Name: dataArg |
| 251 |
|
|
@@@Type: |
| 252 |
|
|
DOMMain:DOMString |
| 253 |
|
|
@@Return: |
| 254 |
|
|
@@@Def: |
| 255 |
|
|
@@@@Type: |
| 256 |
|
|
lang:Perl |
| 257 |
|
|
@@@@@: |
| 258 |
|
|
__DEEP{ |
| 259 |
|
|
## Conditional |
| 260 |
|
|
$self->__SUPER{UIEvent}__::initUIEventNS |
| 261 |
|
|
($namespaceURI, $type, $canBubbleArg, $cancelableArg, |
| 262 |
|
|
$viewArg, null); |
| 263 |
|
|
}__; ## NOTE: $detailArg not used |
| 264 |
|
|
for ($self->{<Q:TreeCore:node>}) { |
| 265 |
|
|
$_->{<Q:DOMTextEvents:data>} = $dataArg; |
| 266 |
|
|
} |
| 267 |
|
|
@@SpecLevel:3 |
| 268 |
|
|
@@Level[list]: |
| 269 |
|
|
3 |
| 270 |
|
|
##IF:TextEvent |
| 271 |
|
|
|
| 272 |
|
|
## DOMTextEvents.dis ends here |