Window instead@Deprecated public interface Window extends io.jmix.ui.component.Window, Frame
| Modifier and Type | Interface and Description |
|---|---|
static class |
Window.BeforeCloseWithCloseButtonEvent
Deprecated.
Use
BeforeCloseEvent with CloseOrigin |
static class |
Window.BeforeCloseWithShortcutEvent
Deprecated.
Use
BeforeCloseEvent with CloseOrigin |
static interface |
Window.CloseListener
Deprecated.
Use
Screen.addAfterCloseListener(Consumer) instead |
static interface |
Window.CloseWithCommitListener
Deprecated.
Use
Screen.addAfterCloseListener(Consumer) instead |
static interface |
Window.Editor<T>
Deprecated.
|
static interface |
Window.HasFoldersPane
Deprecated.
|
static interface |
Window.Lookup<T>
Deprecated.
|
static interface |
Window.TopLevelWindow
Deprecated.
Is not required for screen controllers anymore
|
static interface |
Window.Wrapper
Deprecated.
|
io.jmix.ui.component.Window.BeforeCloseEvent, io.jmix.ui.component.Window.CloseOrigin, io.jmix.ui.component.Window.Committable, io.jmix.ui.component.Window.ContentSwitchMode, io.jmix.ui.component.Window.HasUserIndicator, io.jmix.ui.component.Window.HasWorkAreaFrame.MessageMode, Frame.MessageType, Frame.NotificationType| Modifier and Type | Method and Description |
|---|---|
default void |
addBeforeCloseWithCloseButtonListener(java.util.function.Consumer<Window.BeforeCloseWithCloseButtonEvent> listener)
Deprecated.
|
default void |
addBeforeCloseWithShortcutListener(java.util.function.Consumer<Window.BeforeCloseWithShortcutEvent> listener)
Deprecated.
|
default void |
addCloseListener(Window.CloseListener listener)
Deprecated.
Use
Screen.addAfterCloseListener(Consumer) instead. |
default void |
addListener(Window.CloseListener listener)
Deprecated.
Use
Screen.addAfterCloseListener(Consumer) instead. |
default boolean |
close(java.lang.String actionId)
Deprecated.
|
default boolean |
close(java.lang.String actionId,
boolean force)
Deprecated.
|
WindowContext |
getContext()
Deprecated.
|
DialogOptions |
getDialogOptions()
Deprecated.
Cast a window instance to
DialogWindow |
WindowManager |
getWindowManager()
Deprecated.
Use
Screens and Notifications instead. |
default void |
removeBeforeCloseWithCloseButtonListener(java.util.function.Consumer<Window.BeforeCloseWithCloseButtonEvent> listener)
Deprecated.
|
default void |
removeBeforeCloseWithShortcutListener(java.util.function.Consumer<Window.BeforeCloseWithShortcutEvent> listener)
Deprecated.
|
default void |
removeBeforeWindowCloseListener(java.util.function.Consumer<io.jmix.ui.component.Window.BeforeCloseEvent> listener)
Deprecated.
Use
Subscription instead |
default void |
removeCloseListener(Window.CloseListener listener)
Deprecated.
Use
Screen.addAfterCloseListener(Consumer) instead. |
default void |
removeListener(Window.CloseListener listener)
Deprecated.
Use
Screen.addAfterCloseListener(Consumer) instead. |
addBeforeWindowCloseListener, getFocusComponent, getFrameOwner, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, isCloseable, setCloseable, setFocusComponent, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, validate, validateAlladdFacet, getFacet, getFacetNN, getFacets, isValid, removeFacet, validateadd, getComponent, getComponentNN, indexOfgetMargin, setMargin, setMargin, setMarginaddAction, addAction, getAction, getActionNN, getActions, getSubPart, removeAction, removeAction, removeAllActionsgetExpandRatio, setExpandRatioexpandexpand, getExpandDirection, isExpanded, resetExpandedadd, add, remove, remove, removeAllfocusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStreamopenEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openFrame, openFrame, openLookup, openLookup, openLookup, openLookup, openWindow, openWindow, showMessageDialog, showNotification, showNotification, showNotification, showOptionDialog, showOptionDialog, showWebPageWindowContext getContext()
getContext in interface io.jmix.ui.component.FramegetContext in interface io.jmix.ui.component.Window@Deprecated
default boolean close(java.lang.String actionId,
boolean force)
DsContext,
and force=false, the confirmation dialog will be shown.actionId - action ID that will be propagated to attached Window.CloseListeners.
Use Window.COMMIT_ACTION_ID if some changes have just been committed, or
Window.CLOSE_ACTION_ID otherwise. These constants are recognized by various mechanisms of the
framework.force - if true, no confirmation dialog will be shown even if the screen has uncommitted changes@Deprecated default boolean close(java.lang.String actionId)
DsContext, the confirmation dialog will be shown.
AbstractWindow.preClose(String)actionId - action ID that will be propagated to attached Window.CloseListeners.
Use Window.COMMIT_ACTION_ID if some changes have just been committed, or
Window.CLOSE_ACTION_ID otherwise. These constants are recognized by various mechanisms of the
framework.@Deprecated WindowManager getWindowManager()
Screens and Notifications instead.HasWindowManagerScreens instead, it can be obtained from ScreenContext
of FrameOwner.getWindowManager in interface HasWindowManager@Deprecated DialogOptions getDialogOptions()
DialogWindowOpenMode.DIALOG@Deprecated default void addListener(Window.CloseListener listener)
Screen.addAfterCloseListener(Consumer) instead.listener - listener instance@Deprecated default void removeListener(Window.CloseListener listener)
Screen.addAfterCloseListener(Consumer) instead.listener - the listener to remove@Deprecated default void addCloseListener(Window.CloseListener listener)
Screen.addAfterCloseListener(Consumer) instead.listener - listener instance@Deprecated default void removeCloseListener(Window.CloseListener listener)
Screen.addAfterCloseListener(Consumer) instead.listener - the listener to remove@Deprecated default void removeBeforeWindowCloseListener(java.util.function.Consumer<io.jmix.ui.component.Window.BeforeCloseEvent> listener)
Subscription insteadlistener - the listener to remove@Deprecated default void addBeforeCloseWithShortcutListener(java.util.function.Consumer<Window.BeforeCloseWithShortcutEvent> listener)
listener - the listener to register@Deprecated default void removeBeforeCloseWithShortcutListener(java.util.function.Consumer<Window.BeforeCloseWithShortcutEvent> listener)
listener - the listener to remove@Deprecated default void addBeforeCloseWithCloseButtonListener(java.util.function.Consumer<Window.BeforeCloseWithCloseButtonEvent> listener)
listener - the listener to register@Deprecated default void removeBeforeCloseWithCloseButtonListener(java.util.function.Consumer<Window.BeforeCloseWithCloseButtonEvent> listener)
listener - the listener to remove