Package eu.bandm.tools.d2d2.base
Class Def2Doc3.RefPainter_custom
java.lang.Object
eu.bandm.tools.d2d2.base.Def2Doc3.RefPainter_custom
- All Implemented Interfaces:
SyntaxGraph.RefPainter
- Enclosing class:
- Def2Doc3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paintRef
(Graphics2D gr, SyntaxGraph.LayoutParameters layoutParameters, XRegExp context, Expression exp, String tag, 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, XRegExp context, Expression exp, String tag, int x0, int y0, int w, int h) - Specified by:
paintRef
in interfaceSyntaxGraph.RefPainter
- Parameters:
tag
- the pre-calculated text to writeexp
- needed to distinguish between typesx0
- left upper x-coord (in pixels)y0
- left upper y-coord (in pixels)w
- width (in pixels)h
- height (in pixels)
-