Class DefaultFormThemeChain

java.lang.Object
de.xima.fc.form.common.models.DefaultFormThemeChain
All Implemented Interfaces:
IFormThemeChain, Serializable

public final class DefaultFormThemeChain extends Object implements IFormThemeChain
Default POJO implementation of IFormThemeChain.
Since:
8.3.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • DefaultFormThemeChain

      public DefaultFormThemeChain(List<IReferencableFormTheme> themes)
      Creates a new POJO implementation of IFormThemeChain with the given data.
      Parameters:
      themes - A list of form themes in the chain, corresponding to a form theme and all its parents. The first element in the list is the topmost parent theme. The second element is the child of the first element, and so on. The last element is the theme from which the chain was created.
  • Method Details

    • themes

      public List<IReferencableFormTheme> themes()
      Description copied from interface: IFormThemeChain
      A list of form themes in the chain, corresponding to a form theme and all its parents. The first element in the list is the topmost parent theme. The second element is the child of the first element, and so on. The last element is the theme from which the chain was created.
      Specified by:
      themes in interface IFormThemeChain
      Returns:
      A list of form themes in the chain, starting with the topmost parent theme.