Package org.apache.ofbiz.widget.model
Class ModelTheme
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelTheme
-
- All Implemented Interfaces:
java.io.Serializable
public class ModelTheme extends java.lang.Object implements java.io.Serializable
Widget Theme Library - Widget model class.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description ModelTheme(org.w3c.dom.Element themeElement)
Only constructor to initialize a modelTheme from xml definition
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getAutocompleterDefaultDelay()
java.lang.Integer
getAutocompleterDefaultMinLength()
java.lang.Integer
getAutocompleterDefaultViewSize()
java.lang.Boolean
getAutocompleterDisplayReturnField()
java.lang.String
getCompress(java.lang.String name)
java.lang.String
getContentType(java.lang.String name)
java.lang.Integer
getDefaultViewSize()
java.lang.String
getEncoder(java.lang.String name)
java.lang.String
getEncoding(java.lang.String name)
java.lang.String
getErrorTemplateLocation(java.lang.String name)
java.lang.String
getFormRendererLocation(java.lang.String name)
java.lang.Integer
getLinkDefaultLayeredModalHeight()
java.lang.Integer
getLinkDefaultLayeredModalWidth()
java.lang.Integer
getLookupHeight()
java.lang.String
getLookupPosition()
java.lang.String
getLookupShowDescription()
java.lang.Integer
getLookupWidth()
java.lang.String
getMenuRendererLocation(java.lang.String name)
java.util.Map<java.lang.String,java.lang.String>
getModelCommonMenus()
java.util.Map<java.lang.String,java.lang.String>
getModelCommonScreens()
java.lang.String
getName()
java.lang.Object
getProperty(java.lang.String propertyName)
java.lang.String
getScreenRendererLocation(java.lang.String name)
java.util.Map<java.lang.String,java.lang.Object>
getThemeResources()
return the themes properties like VisualThemesRessources, keep the name for understanding compatibilityjava.lang.String
getTreeRendererLocation(java.lang.String name)
java.lang.String
getType(java.lang.String name)
VisualTheme
getVisualTheme(java.lang.String visualThemeId)
java.util.List<java.lang.String>
getVisualThemeIds()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getVisualThemeIds
public java.util.List<java.lang.String> getVisualThemeIds()
-
getVisualTheme
public VisualTheme getVisualTheme(java.lang.String visualThemeId)
-
getDefaultViewSize
public java.lang.Integer getDefaultViewSize()
-
getAutocompleterDefaultViewSize
public java.lang.Integer getAutocompleterDefaultViewSize()
-
getAutocompleterDefaultMinLength
public java.lang.Integer getAutocompleterDefaultMinLength()
-
getAutocompleterDisplayReturnField
public java.lang.Boolean getAutocompleterDisplayReturnField()
-
getAutocompleterDefaultDelay
public java.lang.Integer getAutocompleterDefaultDelay()
-
getLinkDefaultLayeredModalHeight
public java.lang.Integer getLinkDefaultLayeredModalHeight()
-
getLinkDefaultLayeredModalWidth
public java.lang.Integer getLinkDefaultLayeredModalWidth()
-
getLookupHeight
public java.lang.Integer getLookupHeight()
-
getLookupWidth
public java.lang.Integer getLookupWidth()
-
getLookupPosition
public java.lang.String getLookupPosition()
-
getLookupShowDescription
public java.lang.String getLookupShowDescription()
-
getProperty
public java.lang.Object getProperty(java.lang.String propertyName)
-
getThemeResources
public java.util.Map<java.lang.String,java.lang.Object> getThemeResources()
return the themes properties like VisualThemesRessources, keep the name for understanding compatibility- Returns:
-
getType
public java.lang.String getType(java.lang.String name)
-
getEncoder
public java.lang.String getEncoder(java.lang.String name)
-
getCompress
public java.lang.String getCompress(java.lang.String name)
-
getContentType
public java.lang.String getContentType(java.lang.String name)
-
getEncoding
public java.lang.String getEncoding(java.lang.String name)
-
getScreenRendererLocation
public java.lang.String getScreenRendererLocation(java.lang.String name)
-
getFormRendererLocation
public java.lang.String getFormRendererLocation(java.lang.String name)
-
getTreeRendererLocation
public java.lang.String getTreeRendererLocation(java.lang.String name)
-
getMenuRendererLocation
public java.lang.String getMenuRendererLocation(java.lang.String name)
-
getErrorTemplateLocation
public java.lang.String getErrorTemplateLocation(java.lang.String name)
-
getModelCommonScreens
public java.util.Map<java.lang.String,java.lang.String> getModelCommonScreens()
-
getModelCommonMenus
public java.util.Map<java.lang.String,java.lang.String> getModelCommonMenus()
-
-