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