public class ListSelectDialog extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
showDialog(GUIScreen owner,
String title,
String description,
int listWidth,
T... items)
Presents the user with a dialog where a list of items is displayed and
the user can select one of the items.
|
static <T> T |
showDialog(GUIScreen owner,
String title,
String description,
T... items)
Presents the user with a dialog where a list of items is displayed and
the user can select one of the items.
|
public static <T> T showDialog(GUIScreen owner, String title, String description, T... items)
owner
- GUIScreen to draw the dialog ontitle
- Title of the dialogdescription
- Text describing the dialog and the listitems
- Items to show in the listpublic static <T> T showDialog(GUIScreen owner, String title, String description, int listWidth, T... items)
owner
- GUIScreen to draw the dialog ontitle
- Title of the dialogdescription
- Text describing the dialog and the listlistWidth
- Width of the list, in columnsitems
- Items to show in the listCopyright © 2015. All Rights Reserved.