Interface AuthorPreviewComponentProvider


@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorPreviewComponentProvider
A simple read only Author preview component.
Since:
27
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the AuthorAccess.
    Get the Swing JPanel to add to the custom application.
    void
    load(URL url, Reader reader)
    Load content from an URL or a reader or both.
  • Method Details

    • load

      void load(URL url, Reader reader) throws IOException
      Load content from an URL or a reader or both.
      Parameters:
      url - The system id of the resource. If null, the reader must be provided and relative DTD entity references will not be properly resolved.
      reader - The document reader. If null, the reader will be created internally.
      Throws:
      IOException - If any exception occurs during the loading, for example IO exception due to incorrect system id, unsupported encodings, etc.
    • getAuthorAccess

      AuthorAccess getAuthorAccess()
      Get the AuthorAccess.
      Returns:
      The AuthorAccess.
    • getComponent

      Object getComponent()
      Get the Swing JPanel to add to the custom application.
      Returns:
      the Swing JPanel to add to the custom application.