Package org.apache.ofbiz.widget.model
Class ModelScreenWidget.ScreenImage
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget.ScreenImage
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ModelScreenWidget
public static final class ModelScreenWidget.ScreenImage extends ModelScreenWidget
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ofbiz.widget.model.ModelScreenWidget
ModelScreenWidget.Column, ModelScreenWidget.ColumnContainer, ModelScreenWidget.Container, ModelScreenWidget.Content, ModelScreenWidget.DecoratorScreen, ModelScreenWidget.DecoratorSection, ModelScreenWidget.DecoratorSectionInclude, ModelScreenWidget.Form, ModelScreenWidget.Grid, ModelScreenWidget.HorizontalSeparator, ModelScreenWidget.IncludeScreen, ModelScreenWidget.Label, ModelScreenWidget.Menu, ModelScreenWidget.PlatformSpecific, ModelScreenWidget.PortalPage, ModelScreenWidget.ScreenImage, ModelScreenWidget.Screenlet, ModelScreenWidget.ScreenLink, ModelScreenWidget.Section, ModelScreenWidget.SectionsRenderer, ModelScreenWidget.SubContent, ModelScreenWidget.Tree
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG_NAME
-
Fields inherited from class org.apache.ofbiz.widget.model.ModelScreenWidget
module
-
Fields inherited from class org.apache.ofbiz.widget.model.ModelWidget
enableBoundaryCommentsParam
-
-
Constructor Summary
Constructors Constructor Description ScreenImage(ModelScreen modelScreen, org.w3c.dom.Element imageElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelWidgetVisitor visitor)
FlexibleStringExpander
getAlt()
java.lang.String
getAlt(java.util.Map<java.lang.String,java.lang.Object> context)
java.lang.String
getBorder(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getBorderExdr()
java.lang.String
getHeight(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getHeightExdr()
java.lang.String
getId(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getIdExdr()
CommonWidgetModels.Image
getImage()
java.lang.String
getName()
Returns the widget's name.java.lang.String
getSrc(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getSrcExdr()
java.lang.String
getStyle(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getStyleExdr()
java.lang.String
getUrlMode()
java.lang.String
getWidth(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getWidthExdr()
void
renderWidgetString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, ScreenStringRenderer screenStringRenderer)
-
Methods inherited from class org.apache.ofbiz.widget.model.ModelScreenWidget
getModelScreen, readSubWidgets, renderSubWidgetsString
-
Methods inherited from class org.apache.ofbiz.widget.model.ModelWidget
getBoundaryCommentName, getStartColumn, getStartLine, getSystemId, toString, widgetBoundaryCommentsEnabled
-
-
-
-
Field Detail
-
TAG_NAME
public static final java.lang.String TAG_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScreenImage
public ScreenImage(ModelScreen modelScreen, org.w3c.dom.Element imageElement)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:ModelWidget
Returns the widget's name.- Overrides:
getName
in classModelWidget
- Returns:
- Widget's name
-
getSrc
public java.lang.String getSrc(java.util.Map<java.lang.String,java.lang.Object> context)
-
getId
public java.lang.String getId(java.util.Map<java.lang.String,java.lang.Object> context)
-
getStyle
public java.lang.String getStyle(java.util.Map<java.lang.String,java.lang.Object> context)
-
getWidth
public java.lang.String getWidth(java.util.Map<java.lang.String,java.lang.Object> context)
-
getHeight
public java.lang.String getHeight(java.util.Map<java.lang.String,java.lang.Object> context)
-
getBorder
public java.lang.String getBorder(java.util.Map<java.lang.String,java.lang.Object> context)
-
getAlt
public java.lang.String getAlt(java.util.Map<java.lang.String,java.lang.Object> context)
-
getUrlMode
public java.lang.String getUrlMode()
-
getSrcExdr
public FlexibleStringExpander getSrcExdr()
-
getIdExdr
public FlexibleStringExpander getIdExdr()
-
getStyleExdr
public FlexibleStringExpander getStyleExdr()
-
getWidthExdr
public FlexibleStringExpander getWidthExdr()
-
getHeightExdr
public FlexibleStringExpander getHeightExdr()
-
getBorderExdr
public FlexibleStringExpander getBorderExdr()
-
getAlt
public FlexibleStringExpander getAlt()
-
renderWidgetString
public void renderWidgetString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, ScreenStringRenderer screenStringRenderer)
- Specified by:
renderWidgetString
in classModelScreenWidget
-
accept
public void accept(ModelWidgetVisitor visitor) throws java.lang.Exception
- Specified by:
accept
in classModelWidget
- Throws:
java.lang.Exception
-
getImage
public CommonWidgetModels.Image getImage()
-
-