public enum GuiEventDestination extends java.lang.Enum<GuiEventDestination>
| Enum Constant and Description |
|---|
ALL |
CHILDREN |
ORIGIN |
PARENT |
SIBLINGS |
SINGLE |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
sendEvent(IGuiElement element,
GuiElementEvent event) |
static GuiEventDestination |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GuiEventDestination[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuiEventDestination SINGLE
public static final GuiEventDestination ORIGIN
public static final GuiEventDestination CHILDREN
public static final GuiEventDestination PARENT
public static final GuiEventDestination SIBLINGS
public static final GuiEventDestination ALL
public static GuiEventDestination[] values()
for (GuiEventDestination c : GuiEventDestination.values()) System.out.println(c);
public static GuiEventDestination valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract void sendEvent(IGuiElement element, GuiElementEvent event)