Package org.apache.ofbiz.widget.model
Class ModelScreenWidget.ScreenLink
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget.ScreenLink
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ModelScreenWidget
public static final class ModelScreenWidget.ScreenLink 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 ScreenLink(ModelScreen modelScreen, org.w3c.dom.Element linkElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelWidgetVisitor visitor)
CommonWidgetModels.AutoEntityParameters
getAutoEntityParameters()
CommonWidgetModels.AutoServiceParameters
getAutoServiceParameters()
boolean
getEncode()
boolean
getFullPath()
java.lang.String
getHeight()
java.lang.String
getId(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getIdExdr()
ModelScreenWidget.ScreenImage
getImage()
CommonWidgetModels.Link
getLink()
java.lang.String
getLinkType()
java.lang.String
getName()
Returns the widget's name.java.lang.String
getName(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getNameExdr()
java.util.List<CommonWidgetModels.Parameter>
getParameterList()
java.util.Map<java.lang.String,java.lang.String>
getParameterMap(java.util.Map<java.lang.String,java.lang.Object> context)
java.lang.String
getPrefix(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getPrefixExdr()
boolean
getSecure()
java.lang.String
getStyle(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getStyleExdr()
java.lang.String
getTarget(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getTargetExdr()
java.lang.String
getTargetWindow(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getTargetWindowExdr()
java.lang.String
getText(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getTextExdr()
java.lang.String
getUrlMode()
java.lang.String
getWidth()
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
-
ScreenLink
public ScreenLink(ModelScreen modelScreen, org.w3c.dom.Element linkElement)
-
-
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
-
getText
public java.lang.String getText(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)
-
getTarget
public java.lang.String getTarget(java.util.Map<java.lang.String,java.lang.Object> context)
-
getName
public java.lang.String getName(java.util.Map<java.lang.String,java.lang.Object> context)
-
getTargetWindow
public java.lang.String getTargetWindow(java.util.Map<java.lang.String,java.lang.Object> context)
-
getUrlMode
public java.lang.String getUrlMode()
-
getPrefix
public java.lang.String getPrefix(java.util.Map<java.lang.String,java.lang.Object> context)
-
getFullPath
public boolean getFullPath()
-
getSecure
public boolean getSecure()
-
getEncode
public boolean getEncode()
-
getImage
public ModelScreenWidget.ScreenImage getImage()
-
getLinkType
public java.lang.String getLinkType()
-
getWidth
public java.lang.String getWidth()
-
getHeight
public java.lang.String getHeight()
-
getParameterMap
public java.util.Map<java.lang.String,java.lang.String> getParameterMap(java.util.Map<java.lang.String,java.lang.Object> context)
-
getTextExdr
public FlexibleStringExpander getTextExdr()
-
getIdExdr
public FlexibleStringExpander getIdExdr()
-
getStyleExdr
public FlexibleStringExpander getStyleExdr()
-
getTargetExdr
public FlexibleStringExpander getTargetExdr()
-
getTargetWindowExdr
public FlexibleStringExpander getTargetWindowExdr()
-
getPrefixExdr
public FlexibleStringExpander getPrefixExdr()
-
getNameExdr
public FlexibleStringExpander getNameExdr()
-
getParameterList
public java.util.List<CommonWidgetModels.Parameter> getParameterList()
-
getAutoServiceParameters
public CommonWidgetModels.AutoServiceParameters getAutoServiceParameters()
-
getAutoEntityParameters
public CommonWidgetModels.AutoEntityParameters getAutoEntityParameters()
-
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
-
getLink
public CommonWidgetModels.Link getLink()
-
-