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.-
Method Summary
Modifier and TypeMethodDescriptionvoidsetTransform(AffineTransform transform) Sets the affine transformations used.voidvisit(IRenderingElement element) Translates aIRenderingElementinto a widget toolkit specific rendering element.
-
Method Details
-
visit
Translates aIRenderingElementinto 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.
-