Package org.apache.ofbiz.widget.renderer
Class ScreenRenderer.ScreenStack
java.lang.Object
org.apache.ofbiz.widget.renderer.ScreenRenderer.ScreenStack
- Enclosing class:
- ScreenRenderer
Contains the stack of screen area ids that are generated during screen rendering
This allow inherent refreshment of the parent screen, when using callback feature
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drop()
Remove the last visited screen from the stackvoid
push
(ModelScreen modelScreen) Push a screen id upon the stackReturn theModelScreen
of the current screen from the stackReturn the area id reference of the current screen on the screen stackresolveScreenAreaId
(String areaId) If the given areaId have not consistency, return the current screen area id on the stackvoid
setVisitedScreens
(LinkedList<Map<String, Object>> visitedScreens)
-
Constructor Details
-
ScreenStack
public ScreenStack()
-
-
Method Details
-
getVisitedScreens
- Returns:
- the visitedScreens
-
setVisitedScreens
- Parameters:
visitedScreens
- the visitedScreens to set
-
push
Push a screen id upon the stack- Parameters:
modelScreen
-
-
drop
public void drop()Remove the last visited screen from the stack -
resolveCurrentModelScreen
Return theModelScreen
of the current screen from the stack- Returns:
ModelScreen
-
resolveCurrentScreenId
Return the area id reference of the current screen on the screen stack- Returns:
-
resolveScreenAreaId
If the given areaId have not consistency, return the current screen area id on the stack- Returns:
-