Example usage for com.badlogic.gdx.scenes.scene2d.ui WidgetGroup invalidate

List of usage examples for com.badlogic.gdx.scenes.scene2d.ui WidgetGroup invalidate

Introduction

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

Prototype

public void invalidate() 

Source Link

Usage

From source file:com.kotcrab.vis.editor.module.editor.DebugFeaturesControllerModule.java

License:Apache License

private void invalidateRecursively(WidgetGroup group) {
    group.invalidate();

    for (Actor actor : group.getChildren()) {
        if (actor instanceof WidgetGroup)
            invalidateRecursively((WidgetGroup) actor);
        else if (actor instanceof Layout)
            ((Layout) actor).invalidate();
    }//  w w  w. jav a2 s.c  o m
}