Class HtmlContent

java.lang.Object
ch.tocco.nice2.infobox.impl.content.HtmlContent
All Implemented Interfaces:
Content

public class HtmlContent extends Object implements Content
  • Constructor Details

  • Method Details

    • getType

      public String getType()
      Description copied from interface: Content

      Return the unique type name of this content. The type is some arbitary but unique string, identifiying this content type. Back on the client this type name is used to obtain a factory for creating the visual component for the content.

      Specified by:
      getType in interface Content
      Returns:
      the type of this content
    • getUniqueId

      public String getUniqueId()
    • getText

      public String getText()
    • setType

      public void setType(String type)
    • setUniqueId

      public void setUniqueId(String uniqueId)
    • setText

      public void setText(String text)
    • getSorting

      public int getSorting()
      Description copied from interface: Content
      Get the sorting property of this content. All content in the info box is sorted by this property.
      Specified by:
      getSorting in interface Content
      Returns:
      the (absolute) position of this content
    • setSorting

      public void setSorting(int sorting)