Class ModelTree.ModelNode.Image

java.lang.Object
org.apache.ofbiz.widget.model.ModelTree.ModelNode.Image
Enclosing class:
ModelTree.ModelNode

public static class ModelTree.ModelNode.Image extends Object
Models the <image> element.
See Also:
  • widget-tree.xsd
  • Constructor Details

    • Image

      public Image(Element imageElement)
  • Method Details

    • getBorder

      public String getBorder(Map<String,Object> context)
      Gets border.
      Parameters:
      context - the context
      Returns:
      the border
    • getHeight

      public String getHeight(Map<String,Object> context)
      Gets height.
      Parameters:
      context - the context
      Returns:
      the height
    • getId

      public String getId(Map<String,Object> context)
      Gets id.
      Parameters:
      context - the context
      Returns:
      the id
    • getSrc

      public String getSrc(Map<String,Object> context)
      Gets src.
      Parameters:
      context - the context
      Returns:
      the src
    • getStyle

      public String getStyle(Map<String,Object> context)
      Gets style.
      Parameters:
      context - the context
      Returns:
      the style
    • getUrlMode

      public String getUrlMode()
      Gets url mode.
      Returns:
      the url mode
    • getWidth

      public String getWidth(Map<String,Object> context)
      Gets width.
      Parameters:
      context - the context
      Returns:
      the width
    • renderImageString

      public void renderImageString(Appendable writer, Map<String,Object> context, TreeStringRenderer treeStringRenderer)
      Render image string.
      Parameters:
      writer - the writer
      context - the context
      treeStringRenderer - the tree string renderer