Interface ViewComponent


public interface ViewComponent
A ViewComponent represents a view of an entity in the gadgets system. It provides a displayable id and title that can be used during rendering of the component, was well as a means to write the rendered component to a Writer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeTo(Writer writer)
    Renders the component represented by this view and writes it to the Writer.
  • Method Details

    • writeTo

      void writeTo(Writer writer) throws IOException
      Renders the component represented by this view and writes it to the Writer.
      Parameters:
      writer - where the rendered component is written
      Throws:
      IOException - thrown if there is a problem writing the rendered component to the Writer