-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public enum PointerEvents
Possible values for pointer events that a view and its descendants should receive. See https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events for more info.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
Neither the container nor its children receive events.
BOX_NONE
Container doesn't get events but all of its children do.
BOX_ONLY
Container gets events but none of its children do.
AUTO
Container and all of its children receive touch events (like pointerEvents is unspecified).
-
Method Summary
Modifier and Type Method Description static PointerEvents
parsePointerEvents(String pointerEventsStr)
static boolean
canBeTouchTarget(PointerEvents pointerEvents)
static boolean
canChildrenBeTouchTarget(PointerEvents pointerEvents)
static Array<PointerEvents>
values()
static PointerEvents
valueOf(String name)
-
-
Method Detail
-
parsePointerEvents
static PointerEvents parsePointerEvents(String pointerEventsStr)
-
canBeTouchTarget
static boolean canBeTouchTarget(PointerEvents pointerEvents)
-
canChildrenBeTouchTarget
static boolean canChildrenBeTouchTarget(PointerEvents pointerEvents)
-
values
static Array<PointerEvents> values()
-
valueOf
static PointerEvents valueOf(String name)
-
-
-
-