Package org.apache.ofbiz.widget.model
Class ModelScreenWidget.Label
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget.Label
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ModelScreenWidget
public static final class ModelScreenWidget.Label 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 Label(ModelScreen modelScreen, org.w3c.dom.Element labelElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelWidgetVisitor visitor)
java.lang.String
getId(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getIdExdr()
java.lang.String
getStyle(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getStyleExdr()
java.lang.String
getText(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getTextExdr()
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, getName, getStartColumn, getStartLine, getSystemId, toString, widgetBoundaryCommentsEnabled
-
-
-
-
Field Detail
-
TAG_NAME
public static final java.lang.String TAG_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Label
public Label(ModelScreen modelScreen, org.w3c.dom.Element labelElement)
-
-
Method Detail
-
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
-
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)
-
accept
public void accept(ModelWidgetVisitor visitor) throws java.lang.Exception
- Specified by:
accept
in classModelWidget
- Throws:
java.lang.Exception
-
getTextExdr
public FlexibleStringExpander getTextExdr()
-
getIdExdr
public FlexibleStringExpander getIdExdr()
-
getStyleExdr
public FlexibleStringExpander getStyleExdr()
-
-