Package org.apache.ofbiz.widget.model
Class ModelScreenWidget.Menu
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget.Menu
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ModelScreenWidget
public static final class ModelScreenWidget.Menu 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 Menu(ModelScreen modelScreen, org.w3c.dom.Element menuElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelWidgetVisitor visitor)
java.lang.String
getLocation(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getLocationExdr()
ModelMenu
getModelMenu(java.util.Map<java.lang.String,java.lang.Object> context)
java.lang.String
getName(java.util.Map<java.lang.String,java.lang.Object> context)
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
-
Menu
public Menu(ModelScreen modelScreen, org.w3c.dom.Element menuElement)
-
-
Method Detail
-
renderWidgetString
public void renderWidgetString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, ScreenStringRenderer screenStringRenderer) throws java.io.IOException
- Specified by:
renderWidgetString
in classModelScreenWidget
- Throws:
java.io.IOException
-
getModelMenu
public ModelMenu getModelMenu(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)
-
getLocation
public java.lang.String getLocation(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
-
getLocationExdr
public FlexibleStringExpander getLocationExdr()
-
-