clear.event.handlers: clear.event.handlers

Description Usage Arguments Details Value Author(s) Examples

Description

Clear the Handlers list for one Event

Usage

1
clear.event.handlers(registry, event)

Arguments

registry

EventRegistry

event

String. Name of the Event.

Details

Clear the Handlers list for one Event. Does not remove the Event from the EventRegistry.

Value

Nothing good.

Author(s)

Brad Friedman

Examples

1
2
3
4
5
6
r <- new.event.registry()
add.event(r, "mouseclick")
add.event.handler(r, "mouseclick", function(x, y)  message("Mouse clicked at coordinates (", x, ", ", y, ")"))
trigger.event(r, "mouseclick", x = 30, y = 50)
clear.event.handlers(r, "mouseclick")
trigger.event(r, "mouseclick", x = 30, y = 50)

apomatix/AnalysisPageServer documentation built on May 26, 2019, 11:36 a.m.