public class PointerInput extends Input<Pointer.Listener>
Pointer
.Modifier and Type | Class and Description |
---|---|
static class |
PointerInput.Action
A listener that will call
PointerInput.Action.onTrigger() when the pointer is pressed. |
Input.BoundsRegion, Input.LayerRegion, Input.Region, Input.Registration, Input.ScreenRegion, Input.SizedLayerRegion
Modifier and Type | Field and Description |
---|---|
Pointer.Listener |
plistener
Receives input from the PlayN Pointer service.
|
Constructor and Description |
---|
PointerInput() |
Modifier and Type | Method and Description |
---|---|
Input.Registration |
register(Input.Region region,
Pointer.Listener listener)
Configures a reaction to be notified of pointer activity.
|
public final Pointer.Listener plistener
public Input.Registration register(Input.Region region, Pointer.Listener listener)
Subsequent pointer drag and end events will be dispatched to the reaction that successfully hit-tested the pointer start.
register
in class Input<Pointer.Listener>
Copyright © 2015. All Rights Reserved.