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 Summary
Modifier and TypeMethodDescriptionvoid
setTransform
(AffineTransform transform) Sets the affine transformations used.void
visit
(IRenderingElement element) Translates aIRenderingElement
into a widget toolkit specific rendering element.
-
Method Details
-
visit
Translates aIRenderingElement
into a widget toolkit specific rendering element.- Parameters:
element
- Abstract rendering element reflecting some part of the chemical drawing.
-
setTransform
Sets the affine transformations used.- Parameters:
transform
- the affine transformation used.
-