Example usage for com.badlogic.gdx.scenes.scene2d.ui Window isModal

List of usage examples for com.badlogic.gdx.scenes.scene2d.ui Window isModal

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d.ui Window isModal.

Prototype

public boolean isModal() 

Source Link

Usage

From source file:com.kotcrab.vis.editor.util.gdx.VisGroup.java

License:Apache License

private void actorAdded(Actor actor) {
    if (actor instanceof Window) {
        Window window = (Window) actor;

        if (window.isModal())
            modalWindows.add(window);/*from  w w  w. j a  va 2 s  . c o m*/
    }
}

From source file:com.kotcrab.vis.editor.util.gdx.VisGroup.java

License:Apache License

private void actorRemoved(Actor actor) {
    if (actor instanceof Window) {
        Window window = (Window) actor;

        if (window.isModal())
            modalWindows.removeValue(window, true);
    }//from   w ww  .  j  av  a2 s .  c o  m
}