Package | Description |
---|---|
com.badlogic.gdx.scenes.scene2d | |
com.badlogic.gdx.scenes.scene2d.ui |
Modifier and Type | Method and Description |
---|---|
Stage |
Actor.getStage()
Returns the stage that this actor is currently in, or null if not in a stage.
|
Stage |
Event.getStage()
The stage for the actor the event was fired on.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Actor.setStage(Stage stage)
Called by the framework when this actor or any ascendant is added to a group that is in the stage.
|
void |
Event.setStage(Stage stage) |
protected void |
Group.setStage(Stage stage) |
Modifier and Type | Method and Description |
---|---|
protected void |
Dialog.setStage(Stage stage) |
protected void |
SelectBox.setStage(Stage stage) |
Dialog |
Dialog.show(Stage stage)
Centers the dialog in the stage and calls
Dialog.show(Stage, Action) with a Actions.fadeIn(float, Interpolation)
action. |
Dialog |
Dialog.show(Stage stage,
Action action)
Packs the dialog (but doesn't set the position), adds it to the stage, sets it as the keyboard and scroll
focus, clears any actions on the dialog, and adds the specified action to it. |