Interface Content

All Known Implementing Classes:
HtmlContent, SearchFilterContent

public interface Content

A content for an info box. There may be different contents which are distinguished by type.

This class is only specifying the content, so the client is able to build a component from it. This class is tightly coupled to the corresponding factory on the client.

See HtmlContent/HtmlContentFactoryImpl (server-side) and HtmlContentFactory (client-side).

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the sorting property of this content.
    Return the unique type name of this content.
  • Method Details

    • getType

      String getType()

      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.

      Returns:
      the type of this content
    • getSorting

      int getSorting()
      Get the sorting property of this content. All content in the info box is sorted by this property.
      Returns:
      the (absolute) position of this content