Interface NonSymbolDiagramContent<C extends Component>


@OpenApiAll public interface NonSymbolDiagramContent<C extends Component>
Non symbol diagram content. There are three situations when this content is created:
  • Diagram is shown
  • Diagram is printed
  • Diagram is saved to image
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Activate component.
    Create content component.
    void
    Dispose component.
    Get component full size - used when preparing to print/save diagram to image.
    getPaintableBounds(C component)
    Get component paintable bounds - bounds used to print/save diagram to the image.
  • Method Details

    • createComponent

      C createComponent()
      Create content component.
      Returns:
      content component.
    • activate

      void activate()
      Activate component. Method implementation must initialize the component if it is not initialized yet.
    • dispose

      void dispose()
      Dispose component.
    • getComponentFullSize

      Dimension getComponentFullSize(C component)
      Get component full size - used when preparing to print/save diagram to image.
      Parameters:
      component - component.
      Returns:
      component full size.
    • getPaintableBounds

      Rectangle getPaintableBounds(C component)
      Get component paintable bounds - bounds used to print/save diagram to the image.
      Parameters:
      component - component.
      Returns:
      bounds to paint/print.