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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paintRef
(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:
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)
-