public class DefaultModalWindowStack extends Object implements ModalWindowStack, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_BASE_INDEX |
protected static String |
MODEL_Z_INDEX |
| Constructor and Description |
|---|
DefaultModalWindowStack() |
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
extractExistingZIndex(Map model) |
Integer |
getBaseZIndex() |
int |
getModalWindowZIndex(WidgetInstance widgetInstance)
Provides z-index for given widget instance.
|
void |
onWindowClosed(WidgetInstance widgetInstance)
Removes widget's z-index from stack and it's model.
|
void |
resetModalWindowStack()
Resets z-index stack
|
void |
setBaseZIndex(Integer baseZIndex) |
protected static final String MODEL_Z_INDEX
protected static final int DEFAULT_BASE_INDEX
public int getModalWindowZIndex(WidgetInstance widgetInstance)
ModalWindowStackgetModalWindowZIndex in interface ModalWindowStackwidgetInstance - widget instance.public void onWindowClosed(WidgetInstance widgetInstance)
ModalWindowStackonWindowClosed in interface ModalWindowStackwidgetInstance - widget instance.public void resetModalWindowStack()
ModalWindowStackresetModalWindowStack in interface ModalWindowStackpublic void setBaseZIndex(Integer baseZIndex)
public Integer getBaseZIndex()
Copyright © 2018. All rights reserved.