@Deprecated
public interface HasWindowManager
| Modifier and Type | Method and Description |
|---|---|
WindowManager |
getWindowManager()
Deprecated.
|
default AbstractEditor |
openEditor(Entity item,
WindowManager.OpenType openType)
Deprecated.
|
default AbstractEditor |
openEditor(Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
default AbstractEditor |
openEditor(Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params,
Datasource parentDs)
Deprecated.
|
default AbstractEditor |
openEditor(java.lang.String windowAlias,
Entity item,
WindowManager.OpenType openType)
Deprecated.
|
default AbstractEditor |
openEditor(java.lang.String windowAlias,
Entity item,
WindowManager.OpenType openType,
Datasource parentDs)
Deprecated.
|
default AbstractEditor |
openEditor(java.lang.String windowAlias,
Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
default AbstractEditor |
openEditor(java.lang.String windowAlias,
Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params,
Datasource parentDs)
Deprecated.
|
default Frame |
openFrame(Component parent,
java.lang.String windowAlias)
Deprecated.
|
default Frame |
openFrame(Component parent,
java.lang.String windowAlias,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
default AbstractLookup |
openLookup(java.lang.Class<? extends Entity> entityClass,
Window.Lookup.Handler handler,
WindowManager.OpenType openType)
Deprecated.
|
default AbstractLookup |
openLookup(java.lang.Class<? extends Entity> entityClass,
Window.Lookup.Handler handler,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
default AbstractLookup |
openLookup(java.lang.String windowAlias,
Window.Lookup.Handler handler,
WindowManager.OpenType openType)
Deprecated.
|
default AbstractLookup |
openLookup(java.lang.String windowAlias,
Window.Lookup.Handler handler,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
default AbstractWindow |
openWindow(java.lang.String windowAlias,
WindowManager.OpenType openType)
Deprecated.
|
default AbstractWindow |
openWindow(java.lang.String windowAlias,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
default void |
showMessageDialog(java.lang.String title,
java.lang.String message,
Frame.MessageType messageType)
Deprecated.
|
default void |
showNotification(java.lang.String caption)
Deprecated.
|
default void |
showNotification(java.lang.String caption,
Frame.NotificationType type)
Deprecated.
|
default void |
showNotification(java.lang.String caption,
java.lang.String description,
Frame.NotificationType type)
Deprecated.
|
default void |
showOptionDialog(java.lang.String title,
java.lang.String message,
Frame.MessageType messageType,
Action[] actions)
Deprecated.
|
default void |
showOptionDialog(java.lang.String title,
java.lang.String message,
Frame.MessageType messageType,
java.util.List<Action> actions)
Deprecated.
|
default void |
showWebPage(java.lang.String url,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
WindowManager getWindowManager()
@Deprecated default AbstractWindow openWindow(java.lang.String windowAlias, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
ScreenBuilders bean instead.windowAlias - screen ID as defined in screens.xmlopenType - how to open the screenparams - parameters to pass to init() method of the screen's controller@Deprecated default AbstractWindow openWindow(java.lang.String windowAlias, WindowManager.OpenType openType)
ScreenBuilders bean instead.windowAlias - screen ID as defined in screens.xmlopenType - how to open the screen@Deprecated default AbstractEditor openEditor(Entity item, WindowManager.OpenType openType)
ScreenBuilders bean instead.item - entity to editopenType - how to open the screen@Deprecated default AbstractEditor openEditor(Entity item, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
ScreenBuilders bean instead.item - entity to editopenType - how to open the screenparams - parameters to pass to init() method of the screen's controller@Deprecated default AbstractEditor openEditor(Entity item, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params, Datasource parentDs)
ScreenBuilders bean instead.item - entity to editopenType - how to open the screenparams - parameters to pass to init() method of the screen's controllerparentDs - if this parameter is not null, the editor will commit edited instance into this
datasource instead of directly to database@Deprecated default AbstractEditor openEditor(java.lang.String windowAlias, Entity item, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params, Datasource parentDs)
ScreenBuilders bean instead.windowAlias - screen ID as defined in screens.xmlitem - entity to editopenType - how to open the screenparams - parameters to pass to init() method of the screen's controllerparentDs - if this parameter is not null, the editor will commit edited instance into this
datasource instead of directly to database@Deprecated default AbstractEditor openEditor(java.lang.String windowAlias, Entity item, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
ScreenBuilders bean instead.windowAlias - screen ID as defined in screens.xmlitem - entity to editopenType - how to open the screenparams - parameters to pass to init() method of the screen's controller@Deprecated default AbstractEditor openEditor(java.lang.String windowAlias, Entity item, WindowManager.OpenType openType, Datasource parentDs)
ScreenBuilders bean instead.windowAlias - screen ID as defined in screens.xmlitem - entity to editopenType - how to open the screenparentDs - if this parameter is not null, the editor will commit edited instance into this
datasource instead of directly to database@Deprecated default AbstractEditor openEditor(java.lang.String windowAlias, Entity item, WindowManager.OpenType openType)
ScreenBuilders bean instead.windowAlias - screen ID as defined in screens.xmlitem - entity to editopenType - how to open the screen@Deprecated default AbstractLookup openLookup(java.lang.Class<? extends Entity> entityClass, Window.Lookup.Handler handler, WindowManager.OpenType openType)
ScreenBuilders bean instead.entityClass - required class of entityhandler - is invoked when selection confirmed and the lookup screen closesopenType - how to open the screen@Deprecated default AbstractLookup openLookup(java.lang.Class<? extends Entity> entityClass, Window.Lookup.Handler handler, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
ScreenBuilders bean instead.entityClass - required class of entityhandler - is invoked when selection confirmed and the lookup screen closesopenType - how to open the screenparams - parameters to pass to init() method of the screen's controller@Deprecated default AbstractLookup openLookup(java.lang.String windowAlias, Window.Lookup.Handler handler, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
ScreenBuilders bean instead.windowAlias - screen ID as defined in screens.xmlhandler - is invoked when selection confirmed and the lookup screen closesopenType - how to open the screenparams - parameters to pass to init() method of the screen's controller@Deprecated default AbstractLookup openLookup(java.lang.String windowAlias, Window.Lookup.Handler handler, WindowManager.OpenType openType)
ScreenBuilders bean instead.windowAlias - screen ID as defined in screens.xmlhandler - is invoked when selection confirmed and the lookup screen closesopenType - how to open the screen@Deprecated default Frame openFrame(@Nullable Component parent, java.lang.String windowAlias)
screens.xml and optionally show it inside a parent component of this
frame. Fragments bean instead.parent - if specified, all parent's sub components will be removed and the frame will be addedwindowAlias - frame ID as defined in screens.xml@Deprecated default Frame openFrame(@Nullable Component parent, java.lang.String windowAlias, java.util.Map<java.lang.String,java.lang.Object> params)
screens.xml and optionally show it inside a parent component of this
frame. Fragments bean instead.parent - if specified, all parent's sub components will be removed and the frame will be addedwindowAlias - frame ID as defined in screens.xmlparams - parameters to be passed into the frame's controller init method@Deprecated
default void showMessageDialog(java.lang.String title,
java.lang.String message,
Frame.MessageType messageType)
\n). Dialogs bean instead.title - dialog titlemessage - textmessageType - defines how to display the dialog.
Don't forget to escape data from the database in case of *_HTML types!@Deprecated
default void showOptionDialog(java.lang.String title,
java.lang.String message,
Frame.MessageType messageType,
Action[] actions)
\n).title - dialog titlemessage - textmessageType - defines how to display the dialog.
Don't forget to escape data from the database in case of *_HTML types!actions - array of actions that represent options. For standard options consider use of
DialogAction instances.@Deprecated
default void showOptionDialog(java.lang.String title,
java.lang.String message,
Frame.MessageType messageType,
java.util.List<Action> actions)
\n). Dialogs bean instead.title - dialog titlemessage - textmessageType - defines how to display the dialog.
Don't forget to escape data from the database in case of *_HTML types!actions - list of actions that represent options. For standard options consider use of
DialogAction instances.@Deprecated default void showNotification(java.lang.String caption)
Frame.NotificationType.HUMANIZED. \n). Notifications bean instead.caption - notification text@Deprecated
default void showNotification(java.lang.String caption,
Frame.NotificationType type)
\n) for non HTML type. Notifications bean instead.caption - notification texttype - defines how to display the notification.
Don't forget to escape data from the database in case of *_HTML types!@Deprecated
default void showNotification(java.lang.String caption,
java.lang.String description,
Frame.NotificationType type)
\n) for non HTML type. Notifications bean instead.caption - notification textdescription - notification descriptiontype - defines how to display the notification.
Don't forget to escape data from the database in case of *_HTML types!@Deprecated
default void showWebPage(java.lang.String url,
@Nullable
java.util.Map<java.lang.String,java.lang.Object> params)
WebBrowserTools bean instead.url - URL of the pageparams - optional parameters.
target - String value used as the target name in a
window.open call in the client. This means that special values such as
"_blank", "_self", "_top", "_parent" have special meaning. If not specified, "_blank" is used. width - Integer value specifying the width of the browser window in pixelsheight - Integer value specifying the height of the browser window in pixelsborder - String value specifying the border style of the window of the browser window.
Possible values are "DEFAULT", "MINIMAL", "NONE".Desktop client doesn't support any parameters and just ignores them.