MCPcopy Create free account
hub / github.com/Card-Forge/forge / run

Method run

forge-gui-mobile/src/forge/toolbox/FOptionPane.java:93–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91 public static int showCardOptionDialog(final CardView card, final String message, final String title, final FSkinProp icon, final List<String> options, final int defaultOption) {
92 return new WaitCallback<Integer>() {
93 @Override
94 public void run() {
95 FOptionPane.showCardOptionDialog(card, message, title, icon == null ? null : FSkin.getImages().get(icon), options, defaultOption, this);
96 }
97 }.invokeAndWait();
98 }
99 public static void showCardOptionDialog(final CardView card, String message, String title, FImage icon, final List<String> options, final int defaultOption, final Consumer<Integer> callback) {

Callers

nothing calls this directly

Calls 3

showCardOptionDialogMethod · 0.95
getImagesMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected