public interface PortableViewWindowManager extends WindowManager
Modifier and Type | Interface and Description |
---|---|
static class |
PortableViewWindowManager.CONFIRM_DIALOG_OPTION |
static class |
PortableViewWindowManager.CONFIRM_DIALOG_TYPE |
static class |
PortableViewWindowManager.MESSAGE_DIALOG_TYPE |
WindowManager.MODE
showWindow
void showInWindow(PortableViewSwingComponent swingComponent, String titile, WindowManager.MODE mode)
PortableViewSwingComponent
in a window with a
characteristic properties.swingComponent
- JPanel with the content of the windowtitle
- String with the title of the windowmode
- int that defines the type of windowvoid showViewer(PortableViewViewer mapViewer, WindowManager.MODE mode)
PortableViewViewer
in a window with a characteristic
properties.mapViewer
- mode
- void showCompilationEditor(PortableViewCompilationEditor mapCompilationEditor, WindowManager.MODE mode)
PortableViewCompilationEditor
in a window with a
characteristic properties.mapCompilationEditor
- mode
- void showMessageDialog(Component component, String title, String text, PortableViewWindowManager.MESSAGE_DIALOG_TYPE type)
Shows a information dialog.
component
- parent component (if it's null will use main window)title
- for dialogtext
- to showtype
- void showMessageDialog(String title, String text, PortableViewWindowManager.MESSAGE_DIALOG_TYPE type)
Shows a information dialog.
title
- for dialogtext
- to showtype
- void showMessageDialog(PortableViewSwingComponent component, String title, String text, PortableViewWindowManager.MESSAGE_DIALOG_TYPE type)
Shows a information dialog.
component
- parent componenttitle
- for dialogtext
- to showtype
- PortableViewWindowManager.CONFIRM_DIALOG_OPTION showConfirmDialog(Component parent, String message, String title, PortableViewWindowManager.CONFIRM_DIALOG_TYPE type, PortableViewWindowManager.MESSAGE_DIALOG_TYPE messageType)
parent
- message
- title
- type
- messageType
- PortableViewWindowManager.CONFIRM_DIALOG_OPTION showConfirmDialog(String translation, String title, PortableViewWindowManager.CONFIRM_DIALOG_TYPE type, PortableViewWindowManager.MESSAGE_DIALOG_TYPE messageType)
translation
- title
- type
- messageType
- String showInputStringDialog(String translation, String title, String defautValue, PortableViewWindowManager.MESSAGE_DIALOG_TYPE messageType)
translation
- title
- defautValue
- messageType
-