Example usage for com.badlogic.gdx.scenes.scene2d Stage cancelTouchFocusExcept

List of usage examples for com.badlogic.gdx.scenes.scene2d Stage cancelTouchFocusExcept

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d Stage cancelTouchFocusExcept.

Prototype

public void cancelTouchFocusExcept(EventListener exceptListener, Actor exceptActor) 

Source Link

Document

Cancels touch focus for all listeners except the specified listener.

Usage

From source file:com.meizu.taskmanager.ui.ScrollPane.java

License:Apache License

void cancelTouchFocusedChild(InputEvent event) {
    if (!cancelTouchFocus)
        return;/*  w w  w.j  a va 2  s. c  om*/
    Stage stage = getStage();
    if (stage != null)
        stage.cancelTouchFocusExcept(flickScrollListener, this);
}