Package io.jmix.flowui.testassist.dialog
Class OpenedDialogs
java.lang.Object
io.jmix.flowui.testassist.dialog.OpenedDialogs
Bean contains opened 
Dialogs in order of opening.
 Example of the storage order of dialogs:
- first opened dialog has index 0
- seconds opened dialog has index 1
- last opened dialog has index openedDialogs.size() - 1
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static Map<com.vaadin.flow.component.dialog.Dialog,DialogInfo> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidCloses openedDialogs and removes them from the storage map.protected DialogInfomapToDialogInfo(DialogOpenedEvent event) protected voidonDialogClosed(DialogClosedEvent event) protected voidonDialogOpened(DialogOpenedEvent event) 
- 
Field Details- 
openedDialogs
 
- 
- 
Constructor Details- 
OpenedDialogspublic OpenedDialogs()
 
- 
- 
Method Details- 
getDialogs- Returns:
- immutable list of DialogInfos
 
- 
getLastDialog- Returns:
- the most recent opened DialogInfoornullif no opened dialogs
 
- 
closeOpenedDialogspublic void closeOpenedDialogs()Closes openedDialogs and removes them from the storage map.
- 
onDialogOpened
- 
onDialogClosed
- 
mapToDialogInfo
 
-