Package | Description |
---|---|
com.badlogic.gdx.scenes.scene2d.ui |
Modifier and Type | Method and Description |
---|---|
Dialog |
Dialog.button(Button button)
Adds the given button to the button table.
|
Dialog |
Dialog.button(Button button,
java.lang.Object object)
Adds the given button to the button table.
|
Dialog |
Dialog.button(java.lang.String text)
Adds a text button to the button table.
|
Dialog |
Dialog.button(java.lang.String text,
java.lang.Object object)
Adds a text button to the button table.
|
Dialog |
Dialog.button(java.lang.String text,
java.lang.Object object,
TextButton.TextButtonStyle buttonStyle)
Adds a text button to the button table.
|
Dialog |
Dialog.key(int keycode,
java.lang.Object object)
If this key is pressed,
result(Object) is called with the specified object. |
Dialog |
Dialog.show(Stage stage)
Centers the dialog in the stage and calls
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. |
Dialog |
Dialog.text(Label label)
Adds the given Label to the content table
|
Dialog |
Dialog.text(java.lang.String text)
Adds a label to the content table.
|
Dialog |
Dialog.text(java.lang.String text,
Label.LabelStyle labelStyle)
Adds a label to the content table.
|