Package org.apache.ofbiz.widget.model
Class ModelTheme
java.lang.Object
org.apache.ofbiz.widget.model.ModelTheme
- All Implemented Interfaces:
Serializable
Widget Theme Library - Widget model class.
- See Also:
-
Constructor Summary
ConstructorDescriptionModelTheme
(Element themeElement) Only constructor to initialize a modelTheme from xml definition -
Method Summary
Modifier and TypeMethodDescriptionGets autocompleter default delay.Gets autocompleter default min length.Gets autocompleter default view size.Gets autocompleter display return field.getCompress
(String name) Gets compress.getContentType
(String name) Gets content type.Gets default view size.getEncoder
(String name) Gets encoder.getEncoding
(String name) Gets encoding.Gets error template location.Gets form renderer location.Gets link default layered modal height.Gets link default layered modal width.Gets lookup height.Gets lookup position.Gets lookup show description.Gets lookup width.Gets menu renderer location.Gets model common forms.Gets model common menus.Gets model common screens.getName()
Gets name.getProperty
(String propertyName) Gets property.Gets screen renderer location.return the themes properties like VisualThemesRessources, keep the name for understanding compatibilityGets tree renderer location.Gets type.getVisualTheme
(String visualThemeId) Gets visual theme.Gets visual theme ids.
-
Constructor Details
-
ModelTheme
Only constructor to initialize a modelTheme from xml definition- Parameters:
themeElement
-
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
getVisualThemeIds
Gets visual theme ids.- Returns:
- the visual theme ids
-
getVisualTheme
Gets visual theme.- Parameters:
visualThemeId
- the visual theme id- Returns:
- the visual theme
-
getDefaultViewSize
Gets default view size.- Returns:
- the default view size
-
getAutocompleterDefaultViewSize
Gets autocompleter default view size.- Returns:
- the autocompleter default view size
-
getAutocompleterDefaultMinLength
Gets autocompleter default min length.- Returns:
- the autocompleter default min length
-
getAutocompleterDisplayReturnField
Gets autocompleter display return field.- Returns:
- the autocompleter display return field
-
getAutocompleterDefaultDelay
Gets autocompleter default delay.- Returns:
- the autocompleter default delay
-
getLinkDefaultLayeredModalHeight
Gets link default layered modal height.- Returns:
- the link default layered modal height
-
getLinkDefaultLayeredModalWidth
Gets link default layered modal width.- Returns:
- the link default layered modal width
-
getLookupHeight
Gets lookup height.- Returns:
- the lookup height
-
getLookupWidth
Gets lookup width.- Returns:
- the lookup width
-
getLookupPosition
Gets lookup position.- Returns:
- the lookup position
-
getLookupShowDescription
Gets lookup show description.- Returns:
- the lookup show description
-
getProperty
Gets property.- Parameters:
propertyName
- the property name- Returns:
- the property
-
getThemeResources
return the themes properties like VisualThemesRessources, keep the name for understanding compatibility- Returns:
-
getType
Gets type.- Parameters:
name
- the name- Returns:
- the type
-
getEncoder
Gets encoder.- Parameters:
name
- the name- Returns:
- the encoder
-
getCompress
Gets compress.- Parameters:
name
- the name- Returns:
- the compress
-
getContentType
Gets content type.- Parameters:
name
- the name- Returns:
- the content type
-
getEncoding
Gets encoding.- Parameters:
name
- the name- Returns:
- the encoding
-
getScreenRendererLocation
Gets screen renderer location.- Parameters:
name
- the name- Returns:
- the screen renderer location
-
getFormRendererLocation
Gets form renderer location.- Parameters:
name
- the name- Returns:
- the form renderer location
-
getTreeRendererLocation
Gets tree renderer location.- Parameters:
name
- the name- Returns:
- the tree renderer location
-
getMenuRendererLocation
Gets menu renderer location.- Parameters:
name
- the name- Returns:
- the menu renderer location
-
getErrorTemplateLocation
Gets error template location.- Parameters:
name
- the name- Returns:
- the error template location
-
getModelCommonScreens
Gets model common screens.- Returns:
- the model common screens
-
getModelCommonForms
Gets model common forms.- Returns:
- the model common forms
-
getModelCommonMenus
Gets model common menus.- Returns:
- the model common menus
-