Example usage for Java com.intellij.openapi.ui DialogWrapper fields, constructors, methods, implement or subclass
The text is from its open source code.
int | OK_EXIT_CODE The default exit code for "OK" action. |
int | CANCEL_EXIT_CODE The default exit code for "Cancel" action. |
int | CLOSE_EXIT_CODE The default exit code for "Close" action. |
int | NEXT_USER_EXIT_CODE If you use your own custom exit codes you have to start them with this constant. |
String | DEFAULT_ACTION If your action returned by createActions method has non null value for this key, then the button that corresponds to the action will be the default button for the dialog. |
DialogWrapper(@Nullable Project project) Creates modal DialogWrapper that can be parent for other windows. | |
DialogWrapper(boolean canBeParent) Creates modal DialogWrapper . | |
DialogWrapper(@Nullable Project project, boolean canBeParent) Creates modal DialogWrapper . | |
DialogWrapper(boolean canBeParent, boolean applicationModalIfPossible) Typically, we should set a parent explicitly. | |
DialogWrapper(@NotNull Component parent, boolean canBeParent) |
void | close(int exitCode) |
DialogWrapper | findInstance(Component c) |
Disposable | getDisposable() |
int | getExitCode() |
DialogWrapperPeer | getPeer() |
Window | getWindow() |
boolean | isModal() |
boolean | isOK() |
void | setModal(boolean modal) |
void | setSize(int width, int height) |
void | setTitle(@Nls(capitalization = Nls.Capitalization.Title) String title) |
void | show() Show the dialog. |
boolean | showAndGet() Show the modal dialog and check if it was closed with OK. |