Package | Description |
---|---|
io.github.arrayv.groovyapi |
This package defines the Groovy API.
|
Modifier and Type | Method and Description |
---|---|
ArrayVEventHandler.EventType |
ArrayVEventHandler.getEventType()
The type of the event to handle
|
static ArrayVEventHandler.EventType |
ArrayVEventHandler.EventType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArrayVEventHandler.EventType[] |
ArrayVEventHandler.EventType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<ArrayVEventHandler> |
ScriptManager.getEventHandlers(ArrayVEventHandler.EventType eventType)
Get the event handlers for the specified event type
|
static ArrayVEventHandler |
GroovyLocals.registerEventHandler(ArrayVEventHandler.EventType eventType,
Runnable cb)
Registers an event handler and returns the handler object.
|
void |
ScriptManager.runEventHandlers(ArrayVEventHandler.EventType eventType)
Run the event handlers for the specified event type
|
Constructor and Description |
---|
ArrayVEventHandler(ArrayVEventHandler.EventType eventType,
Runnable cb)
Construct an event handler object
|
Copyright © 2024. All rights reserved.