Methods' Details |
registerScriptEvent
|
registerScriptEvents
|
revokeScriptEvent
void |
revokeScriptEvent( |
[in] long |
nIndex, |
| [in] string |
aListenerType, |
| [in] string |
aEventMethod, |
| [in] string |
aRemoveListenerParam ) |
raises( |
::com::sun::star::lang::IllegalArgumentException ); |
- Description
- revokes the registration of an event.
The parameters ListenerType and
EventMethod are equivalent to the first two
members of the ScriptEventDescriptor
used to register events. If this event at this index has
been attached to any object, it is detached automatically
(see attach).
Exceptions of type
::com::sun::star::beans::IntrospectionException and
CannotCreateAdapterException
that can be thrown by methods of XEventAttacher are caught
and ignored.
- See also
- attach
|
|
revokeScriptEvents
- Description
- revokes all events which are registered for the given index.
If the events at this index have been attached to any
object, they are detached automatically.
(see attach).
- See also
- attach
|
|
insertEntry
- Description
- creates an empty entry at the given position.
The index n of all entries with n >=
nIndex will be increased by one.
|
|
removeEntry
- Description
- removes the entry at the given position.
If any events are registered at this index, they will
be revoked, too. So if the events at this index have been
attached to any object they are detached automatically.
(see attach).
- See also
- attach
|
|
getScriptEvents
- Description
- @eturns
all events registered for the given object index.
- Parameter Index
- an index previously inserted with the method insertEntry.
- Throws
- IllegalArgumentException
if Index is not valid.
|
|
attach
|
detach
|
addScriptListener
|
removeScriptListener
- Description
- removes a XScriptListener from the listener list.
Nothing happens if the listener is not registered.
It is suggested to allow multiple registration of the same listener,
thus for each time a listener is added, it has to be removed.
- See also
- addScriptListener
|
|
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.