Interface IRenderingVisitor
-
- All Known Subinterfaces:
IDrawVisitor
- All Known Implementing Classes:
AbstractAWTDrawVisitor,AWTDrawVisitor
public interface IRenderingVisitorAnIRenderingVisitoris 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetTransform(AffineTransform transform)Sets the affine transformations used.voidvisit(IRenderingElement element)Translates aIRenderingElementinto a widget toolkit specific rendering element.
-
-
-
Method Detail
-
visit
void visit(IRenderingElement element)
Translates aIRenderingElementinto 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.
-
-