Interface IRenderingVisitor

  • All Known Subinterfaces:
    IDrawVisitor
    All Known Implementing Classes:
    AbstractAWTDrawVisitor, AWTDrawVisitor

    public interface IRenderingVisitor
    An IRenderingVisitor is responsible of converting an abstract chemical drawing into a widget set specific drawing. This approach ensures that the rendering engine is widget toolkit independent. Current supported widget toolkits include SWT, Swing, and SVG.
    Source code:
    main
    Belongs to CDK module:
    render
    • Method Detail

      • visit

        void visit​(IRenderingElement element)
        Translates a IRenderingElement into a widget toolkit specific rendering element.
        Parameters:
        element - Abstract rendering element reflecting some part of the chemical drawing.
      • setTransform

        void setTransform​(AffineTransform transform)
        Sets the affine transformations used.
        Parameters:
        transform - the affine transformation used.