- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.event.HandlerList<E>
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static interface
HandlerList.ErrorCatch
-
字段概要
字段 修饰符和类型 字段 说明 static HandlerList.ErrorCatch
PRINT
static HandlerList.ErrorCatch
THROW
-
构造器概要
构造器 构造器 说明 HandlerList()
-
方法概要
修饰符和类型 方法 说明 void
clear()
void
forEach(Consumer<EventHandler<E>> c)
static HandlerList.ErrorCatch
getDefaultErrorCatch()
HandlerList.ErrorCatch
getErrorCatch()
@NotNull HandlerList.ErrorCatch
getErrorCatchRunnable()
void
post(E event)
void
register(@NotNull EventHandler<E> handler)
static void
setDefaultErrorCatch(HandlerList.ErrorCatch defaultErrorCatch)
void
setErrorCatch(HandlerList.ErrorCatch errorCatch)
void
unregister(@NotNull EventHandler<E> handler)
-
-
-
字段详细资料
-
THROW
public static final HandlerList.ErrorCatch THROW
-
PRINT
public static final HandlerList.ErrorCatch PRINT
-
-
方法详细资料
-
getDefaultErrorCatch
public static HandlerList.ErrorCatch getDefaultErrorCatch()
-
getErrorCatch
public HandlerList.ErrorCatch getErrorCatch()
-
setDefaultErrorCatch
public static void setDefaultErrorCatch(HandlerList.ErrorCatch defaultErrorCatch)
-
setErrorCatch
public void setErrorCatch(HandlerList.ErrorCatch errorCatch)
-
getErrorCatchRunnable
@NotNull public final @NotNull HandlerList.ErrorCatch getErrorCatchRunnable()
-
forEach
public void forEach(Consumer<EventHandler<E>> c)
-
register
public void register(@NotNull @NotNull EventHandler<E> handler)
-
unregister
public void unregister(@NotNull @NotNull EventHandler<E> handler)
-
post
public void post(E event)
-
clear
public void clear()
-
-