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)
Packs the dialog and adds it to the stage, centered with default fadeIn action |
Dialog |
Dialog.show(Stage stage,
Action action)
Packs the dialog and adds it to the stage with custom action which can be null for instant show |
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.
|