Package eu.bandm.tools.d2d2.base
Class Userdoc.RefPainter_custom
java.lang.Object
eu.bandm.tools.d2d2.base.Userdoc.RefPainter_custom
- All Implemented Interfaces:
SyntaxGraph.RefPainter
- Enclosing class:
Userdoc
Plug in class for painting expression terms of "reference" type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpaintRef(Graphics2D gr, SyntaxGraph.LayoutParameters layoutParameters, Expression exp, String tag, boolean isInsertion, int x0, int y0, int w, int h)
-
Constructor Details
-
RefPainter_custom
public RefPainter_custom()
-
-
Method Details
-
paintRef
public void paintRef(Graphics2D gr, SyntaxGraph.LayoutParameters layoutParameters, Expression exp, String tag, boolean isInsertion, int x0, int y0, int w, int h) - Specified by:
paintRefin interfaceSyntaxGraph.RefPainter- Parameters:
exp- needed to distinguish between typestag- the pre-calculated text to writex0- left upper x-coord (in pixels)y0- left upper y-coord (in pixels)w- width (in pixels)h- height (in pixels)
-