Package org.apache.ofbiz.widget.model
Class ModelTree.ModelNode.Image
java.lang.Object
org.apache.ofbiz.widget.model.ModelTree.ModelNode.Image
- Enclosing class:
- ModelTree.ModelNode
Models the <image> element.
- See Also:
-
widget-tree.xsd
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets border.Gets height.Gets id.Gets src.Gets style.Gets url mode.Gets width.void
renderImageString
(Appendable writer, Map<String, Object> context, TreeStringRenderer treeStringRenderer) Render image string.
-
Constructor Details
-
Image
-
-
Method Details
-
getBorder
Gets border.- Parameters:
context
- the context- Returns:
- the border
-
getHeight
Gets height.- Parameters:
context
- the context- Returns:
- the height
-
getId
Gets id.- Parameters:
context
- the context- Returns:
- the id
-
getSrc
Gets src.- Parameters:
context
- the context- Returns:
- the src
-
getStyle
Gets style.- Parameters:
context
- the context- Returns:
- the style
-
getUrlMode
Gets url mode.- Returns:
- the url mode
-
getWidth
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 writercontext
- the contexttreeStringRenderer
- the tree string renderer
-