public class ActionListDialog extends Window
Modifier and Type | Method and Description |
---|---|
static void |
showActionListDialog(GUIScreen owner,
String title,
String description,
Action... actions)
Will display a dialog prompting the user to select an action from a list.
|
static void |
showActionListDialog(GUIScreen owner,
String title,
String description,
int itemWidth,
Action... actions)
Will display a dialog prompting the user to select an action from a list.
|
static void |
showActionListDialog(GUIScreen owner,
String title,
String description,
int itemWidth,
boolean closeBeforeAction,
Action... actions)
Will display a dialog prompting the user to select an action from a list.
|
addComponent, addContainerListener, addEmptyLine, addWindowListener, close, getBorder, getComponentAt, getComponentCount, getInputFocusedComponent, getOwner, getWindowSizeOverride, isDrawShadow, isSoloWindow, onClosed, onKeyPressed, onVisible, removeAllComponents, removeComponent, removeContainerListener, setBorder, setDrawShadow, setFocus, setFocus, setSoloWindow, setWindowSizeOverride, toString
public static void showActionListDialog(GUIScreen owner, String title, String description, Action... actions)
public static void showActionListDialog(GUIScreen owner, String title, String description, int itemWidth, Action... actions)
public static void showActionListDialog(GUIScreen owner, String title, String description, int itemWidth, boolean closeBeforeAction, Action... actions)
owner
- Screen to display the dialog ontitle
- Title of the dialogdescription
- Description label inside the dialogitemWidth
- Width of the labels in the list, this will effectively set how wide the dialog iscloseBeforeAction
- When an action in chosen, should the dialog be closed before the action is executed?actions
- List of actions inside the dialogCopyright © 2015. All Rights Reserved.