^1466150035542
@
sname
EventFilter
slabel
EventFilter
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
sdescription
EventFilter是注册到display的公有事件过滤器，不管相应的事件在那里发生都会触发。
sid
EventFilter
@/@listeners
sname
listeners
slabel
listeners
sdescriptors
xworker.lang.MetaDescriptor3/@thing
smany
false
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>系统级的事件监听，任何控件的相应事件都会被监听。如果父控件销毁了，那么也会从系统控件中移除。</p>

<p><span style="background-color:rgb(255, 255, 255); color:rgb(0, 0, 0); float:none">Adds the listener to the collection of listeners who will be notified when an event of the given type occurs anywhere in a widget. The event type is one of the event constants defined in class </span><code>SWT</code><span style="background-color:rgb(255, 255, 255); color:rgb(0, 0, 0); float:none">. When the event does occur, the listener is notified by sending it the </span><code>handleEvent()</code><span style="background-color:rgb(255, 255, 255); color:rgb(0, 0, 0); float:none"> message.</span></p>

<p>Setting the type of an event to <code>SWT.None</code> from within the <code>handleEvent()</code> method can be used to change the event type and stop subsequent Java listeners from running. Because event filters run before other listeners, event filters can both block other listeners and set arbitrary fields within an event. For this reason, event filters are both powerful and dangerous. They should generally be avoided for performance, debugging and code maintenance reasons.</p>

<p>&nbsp;</p>

<p>&nbsp;</p>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sid
listeners
@/@listeners/@scripts
sname
scripts
slabel
scripts
sdescriptors
xworker.lang.MetaDescriptor3/@actions
sid
scripts
@/@listeners/@scripts/@create
sname
create
sisSynchronized
false
sthrowException
false
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.swt.events.EventFilterListenersCreator
smethodName
create
sdescriptors
xworker.lang.actions.JavaAction
sid
create
@/@listeners/@Listener
sname
Listener
slabel
Listener
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.swt.events.Listeners/@listeners/@Listener
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
snotXmlAttribute
false
sjson_isArray
false
sid
Listener
