public static enum Interaction.CaptureMode extends java.lang.Enum<Interaction.CaptureMode>
Interaction.capture().| Enum Constant | Description |
|---|---|
ABOVE |
Events are sent to the capturing layer and its parents.
|
BELOW |
Events are sent to the capturing layer and its children.
|
ONLY |
Events are only sent to the capturing layer.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract boolean |
allow(playn.scene.Interaction.Depth depth) |
|
static Interaction.CaptureMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Interaction.CaptureMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interaction.CaptureMode ONLY
public static final Interaction.CaptureMode ABOVE
public static final Interaction.CaptureMode BELOW
public static Interaction.CaptureMode[] values()
for (Interaction.CaptureMode c : Interaction.CaptureMode.values()) System.out.println(c);
public static Interaction.CaptureMode 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 boolean allow(playn.scene.Interaction.Depth depth)
Copyright © 2018. All Rights Reserved.