Example usage for Java com.badlogic.gdx.scenes.scene2d.ui Dialog fields, constructors, methods, implement or subclass
The text is from its open source code.
Dialog(String title, Skin skin) | |
Dialog(String title, WindowStyle windowStyle) | |
Dialog(String title, Skin skin, String windowStyleName) |
Dialog | button(String text, Object object) Adds a text button to the button table. |
Dialog | button(Button button, Object object) Adds the given button to the button table. |
Dialog | button(String text, Object object, TextButtonStyle buttonStyle) Adds a text button to the button table. |
Dialog | button(String text) Adds a text button to the button table. |
Dialog | button(Button button) Adds the given button to the button table. |
void | cancel() |
Table | getButtonTable() |
Table | getContentTable() |
void | hide() Hides the dialog. |
Dialog | key(final int keycode, final Object object) If this key is pressed, #result(Object) is called with the specified object. |
void | setObject(Actor actor, Object object) |
Dialog | show(Stage stage) #pack() Packs the dialog and adds it to the stage, centered with default fadeIn action |
Dialog | text(String text) Adds a label to the content table. |
Dialog | text(Label label) Adds the given Label to the content table |