Package org.apache.ofbiz.widget.model
Class IterateSectionWidget
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget
-
- org.apache.ofbiz.widget.model.IterateSectionWidget
-
- All Implemented Interfaces:
java.io.Serializable
public class IterateSectionWidget extends ModelScreenWidget
Widget Library - Screen model HTML class- 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 int
DEFAULT_PAGE_SIZE
static int
MAX_PAGE_SIZE
static java.lang.String
module
-
Fields inherited from class org.apache.ofbiz.widget.model.ModelWidget
enableBoundaryCommentsParam
-
-
Constructor Summary
Constructors Constructor Description IterateSectionWidget(ModelScreen modelScreen, org.w3c.dom.Element iterateSectionElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelWidgetVisitor visitor)
FlexibleStringExpander
getEntryNameExdr()
FlexibleStringExpander
getKeyNameExdr()
FlexibleMapAccessor<java.lang.Object>
getListNameExdr()
FlexibleStringExpander
getPaginate()
boolean
getPaginate(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getPaginateTarget()
java.lang.String
getPaginateTarget(java.util.Map<java.lang.String,java.lang.Object> context)
java.util.List<ModelScreenWidget.Section>
getSectionList()
int
getViewSize()
void
renderNextPrev(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, int listSize, int actualPageSize)
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
-
module
public static final java.lang.String module
-
DEFAULT_PAGE_SIZE
public static final int DEFAULT_PAGE_SIZE
- See Also:
- Constant Field Values
-
MAX_PAGE_SIZE
public static final int MAX_PAGE_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IterateSectionWidget
public IterateSectionWidget(ModelScreen modelScreen, org.w3c.dom.Element iterateSectionElement)
-
-
Method Detail
-
getSectionList
public java.util.List<ModelScreenWidget.Section> getSectionList()
-
renderWidgetString
public void renderWidgetString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, ScreenStringRenderer screenStringRenderer) throws GeneralException, java.io.IOException
- Specified by:
renderWidgetString
in classModelScreenWidget
- Throws:
GeneralException
java.io.IOException
-
getPaginateTarget
public java.lang.String getPaginateTarget(java.util.Map<java.lang.String,java.lang.Object> context)
-
getPaginate
public boolean getPaginate(java.util.Map<java.lang.String,java.lang.Object> context)
-
getViewSize
public int getViewSize()
-
renderNextPrev
public void renderNextPrev(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, int listSize, int actualPageSize) throws java.io.IOException
- Throws:
java.io.IOException
-
accept
public void accept(ModelWidgetVisitor visitor) throws java.lang.Exception
- Specified by:
accept
in classModelWidget
- Throws:
java.lang.Exception
-
getListNameExdr
public FlexibleMapAccessor<java.lang.Object> getListNameExdr()
-
getEntryNameExdr
public FlexibleStringExpander getEntryNameExdr()
-
getKeyNameExdr
public FlexibleStringExpander getKeyNameExdr()
-
getPaginateTarget
public FlexibleStringExpander getPaginateTarget()
-
getPaginate
public FlexibleStringExpander getPaginate()
-
-