Class ModelTheme

java.lang.Object
org.apache.ofbiz.widget.model.ModelTheme
All Implemented Interfaces:
Serializable

public class ModelTheme extends Object implements Serializable
Widget Theme Library - Widget model class.
See Also:
  • Constructor Details

    • ModelTheme

      public ModelTheme(Element themeElement)
      Only constructor to initialize a modelTheme from xml definition
      Parameters:
      themeElement -
  • Method Details

    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • getVisualThemeIds

      public List<String> getVisualThemeIds()
      Gets visual theme ids.
      Returns:
      the visual theme ids
    • getVisualTheme

      public VisualTheme getVisualTheme(String visualThemeId)
      Gets visual theme.
      Parameters:
      visualThemeId - the visual theme id
      Returns:
      the visual theme
    • getDefaultViewSize

      public Integer getDefaultViewSize()
      Gets default view size.
      Returns:
      the default view size
    • getAutocompleterDefaultViewSize

      public Integer getAutocompleterDefaultViewSize()
      Gets autocompleter default view size.
      Returns:
      the autocompleter default view size
    • getAutocompleterDefaultMinLength

      public Integer getAutocompleterDefaultMinLength()
      Gets autocompleter default min length.
      Returns:
      the autocompleter default min length
    • getAutocompleterDisplayReturnField

      public Boolean getAutocompleterDisplayReturnField()
      Gets autocompleter display return field.
      Returns:
      the autocompleter display return field
    • getAutocompleterDefaultDelay

      public Integer getAutocompleterDefaultDelay()
      Gets autocompleter default delay.
      Returns:
      the autocompleter default delay
    • getLinkDefaultLayeredModalHeight

      public Integer getLinkDefaultLayeredModalHeight()
      Gets link default layered modal height.
      Returns:
      the link default layered modal height
    • getLinkDefaultLayeredModalWidth

      public Integer getLinkDefaultLayeredModalWidth()
      Gets link default layered modal width.
      Returns:
      the link default layered modal width
    • getLookupHeight

      public Integer getLookupHeight()
      Gets lookup height.
      Returns:
      the lookup height
    • getLookupWidth

      public Integer getLookupWidth()
      Gets lookup width.
      Returns:
      the lookup width
    • getLookupPosition

      public String getLookupPosition()
      Gets lookup position.
      Returns:
      the lookup position
    • getLookupShowDescription

      public String getLookupShowDescription()
      Gets lookup show description.
      Returns:
      the lookup show description
    • getProperty

      public Object getProperty(String propertyName)
      Gets property.
      Parameters:
      propertyName - the property name
      Returns:
      the property
    • getThemeResources

      public Map<String,Object> getThemeResources()
      return the themes properties like VisualThemesRessources, keep the name for understanding compatibility
      Returns:
    • getType

      public String getType(String name)
      Gets type.
      Parameters:
      name - the name
      Returns:
      the type
    • getEncoder

      public String getEncoder(String name)
      Gets encoder.
      Parameters:
      name - the name
      Returns:
      the encoder
    • getCompress

      public String getCompress(String name)
      Gets compress.
      Parameters:
      name - the name
      Returns:
      the compress
    • getContentType

      public String getContentType(String name)
      Gets content type.
      Parameters:
      name - the name
      Returns:
      the content type
    • getEncoding

      public String getEncoding(String name)
      Gets encoding.
      Parameters:
      name - the name
      Returns:
      the encoding
    • getScreenRendererLocation

      public String getScreenRendererLocation(String name)
      Gets screen renderer location.
      Parameters:
      name - the name
      Returns:
      the screen renderer location
    • getFormRendererLocation

      public String getFormRendererLocation(String name)
      Gets form renderer location.
      Parameters:
      name - the name
      Returns:
      the form renderer location
    • getTreeRendererLocation

      public String getTreeRendererLocation(String name)
      Gets tree renderer location.
      Parameters:
      name - the name
      Returns:
      the tree renderer location
    • getMenuRendererLocation

      public String getMenuRendererLocation(String name)
      Gets menu renderer location.
      Parameters:
      name - the name
      Returns:
      the menu renderer location
    • getErrorTemplateLocation

      public String getErrorTemplateLocation(String name)
      Gets error template location.
      Parameters:
      name - the name
      Returns:
      the error template location
    • getModelCommonScreens

      public Map<String,String> getModelCommonScreens()
      Gets model common screens.
      Returns:
      the model common screens
    • getModelCommonForms

      public Map<String,String> getModelCommonForms()
      Gets model common forms.
      Returns:
      the model common forms
    • getModelCommonMenus

      public Map<String,String> getModelCommonMenus()
      Gets model common menus.
      Returns:
      the model common menus