Class ScreenRenderer.ScreenStack

java.lang.Object
org.apache.ofbiz.widget.renderer.ScreenRenderer.ScreenStack
Enclosing class:
ScreenRenderer

public static class ScreenRenderer.ScreenStack extends Object
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 Details

    • ScreenStack

      public ScreenStack()
  • Method Details

    • getVisitedScreens

      public LinkedList<Map<String,Object>> getVisitedScreens()
      Returns:
      the visitedScreens
    • setVisitedScreens

      public void setVisitedScreens(LinkedList<Map<String,Object>> visitedScreens)
      Parameters:
      visitedScreens - the visitedScreens to set
    • push

      public void push(ModelScreen modelScreen)
      Push a screen id upon the stack
      Parameters:
      modelScreen -
    • drop

      public void drop()
      Remove the last visited screen from the stack
    • resolveCurrentModelScreen

      public ModelScreen resolveCurrentModelScreen()
      Return the ModelScreen of the current screen from the stack
      Returns:
      ModelScreen
    • resolveCurrentScreenId

      public String resolveCurrentScreenId()
      Return the area id reference of the current screen on the screen stack
      Returns:
    • resolveScreenAreaId

      public String resolveScreenAreaId(String areaId)
      If the given areaId have not consistency, return the current screen area id on the stack
      Returns: