接口的使用
pkg.exoad.poprock.core.EventPoolService.EventPayload
程序包
说明
This package contains the Poprock application built using the
Poprock library.
The core of the Poprock application that has both the library and also
the application.
-
app.desktop.ui中EventPoolService.EventPayload的使用
修饰符和类型类说明final record
final record
An identifier payload for deploying Gradient Events to the Poprock application. -
pkg.exoad.poprock.core中EventPoolService.EventPayload的使用
修饰符和类型字段说明private final HashMap<Class<? extends EventPoolService.EventPayload>,
Pair<ArrayList<Runnable>, Object>> EventPoolService.EventPool.payloads
修饰符和类型方法说明<T extends EventPoolService.EventPayload>
voidEventPoolService.EventPool.dispatchEvent
(Class<T> id, T payload) <T extends EventPoolService.EventPayload>
TEventPoolService.EventPool.getPayload
(Class<T> id) Returns the currently cached value of this payload event type (can be null).<T extends EventPoolService.EventPayload>
booleanEventPoolService.EventPool.isRegisteredPayloadID
(Class<T> id) <T extends EventPoolService.EventPayload>
voidDry runs all of the listeners under an event payload.修饰符和类型方法说明static Optional<Collection<Class<? extends EventPoolService.EventPayload>>>
EventPoolService.inferEventPool
(int id) Returns all of the payload types within an existing event payload.修饰符和类型方法说明void
EventPoolService.EventPool.attachListener
(Class<? extends EventPoolService.EventPayload> id, Runnable r) Subscribe to an event payload typevoid
EventPoolService.EventPool.registerEvent
(Class<? extends EventPoolService.EventPayload> id, Object payload) Register an event payload type to this pool.