Package org.apache.ofbiz.widget.model
Class ModelScreenWidget.Screenlet
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget
-
- org.apache.ofbiz.widget.model.ModelScreenWidget.Screenlet
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ModelScreenWidget
public static final class ModelScreenWidget.Screenlet 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 Screenlet(ModelScreen modelScreen, org.w3c.dom.Element screenletElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelWidgetVisitor visitor)
boolean
collapsible()
boolean
getCollapsible()
java.lang.String
getId(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getIdExdr()
FlexibleStringExpander
getInitiallyCollapsed()
boolean
getInitiallyCollapsed(java.util.Map<java.lang.String,java.lang.Object> context)
ModelScreenWidget.Form
getNavigationForm()
ModelScreenWidget.Menu
getNavigationMenu()
boolean
getPadded()
java.lang.String
getPreferenceKey(java.util.Map<java.lang.String,java.lang.Object> context)
boolean
getSaveCollapsed()
java.util.List<ModelScreenWidget>
getSubWidgets()
ModelScreenWidget.Menu
getTabMenu()
java.lang.String
getTitle(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getTitleExdr()
boolean
padded()
void
renderWidgetString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, ScreenStringRenderer screenStringRenderer)
boolean
saveCollapsed()
-
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
-
Screenlet
public Screenlet(ModelScreen modelScreen, org.w3c.dom.Element screenletElement)
-
-
Method Detail
-
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
-
collapsible
public boolean collapsible()
-
getInitiallyCollapsed
public boolean getInitiallyCollapsed(java.util.Map<java.lang.String,java.lang.Object> context)
-
saveCollapsed
public boolean saveCollapsed()
-
padded
public boolean padded()
-
getPreferenceKey
public java.lang.String getPreferenceKey(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)
-
getSubWidgets
public java.util.List<ModelScreenWidget> getSubWidgets()
-
getTitle
public java.lang.String getTitle(java.util.Map<java.lang.String,java.lang.Object> context)
-
getNavigationMenu
public ModelScreenWidget.Menu getNavigationMenu()
-
getNavigationForm
public ModelScreenWidget.Form getNavigationForm()
-
getTabMenu
public ModelScreenWidget.Menu getTabMenu()
-
accept
public void accept(ModelWidgetVisitor visitor) throws java.lang.Exception
- Specified by:
accept
in classModelWidget
- Throws:
java.lang.Exception
-
getIdExdr
public FlexibleStringExpander getIdExdr()
-
getTitleExdr
public FlexibleStringExpander getTitleExdr()
-
getCollapsible
public boolean getCollapsible()
-
getInitiallyCollapsed
public FlexibleStringExpander getInitiallyCollapsed()
-
getSaveCollapsed
public boolean getSaveCollapsed()
-
getPadded
public boolean getPadded()
-
-