Class ContentItem


  • public class ContentItem
    extends CompositeModel
    This class represents the viewmodel of the ContentItem.
    Since:
    9.2
    Author:
    A.Pragt
    • Constructor Detail

      • ContentItem

        public ContentItem()
    • Method Detail

      • getContentStyle

        public String getContentStyle()
        This method returns the contentstyle.
        Returns:
        The contentstyle.
      • setContentStyle

        public void setContentStyle​(String contentStyle)
        This method sets the content style.
        Parameters:
        contentStyle - The contentstyle.
      • getPlainText

        public String getPlainText()
        Returns the content of this content item as plain text.
        Returns:
        the content of this content item as plain text, may be null.
      • setPlainText

        public void setPlainText​(String plainText)
        Sets the plain text content of this content item.
        Parameters:
        plainText - the plain text content, may be null.