Package eu.bandm.tools.d2d2.base
Class SyntaxGraph.Painter
java.lang.Object
eu.bandm.tools.d2d2.model.MATCH_ONLY_00
eu.bandm.tools.d2d2.model.SinglePhase
eu.bandm.tools.d2d2.base.SyntaxGraph.Painter
- Enclosing class:
- SyntaxGraph
-
Field Summary
Modifier and TypeFieldDescriptionprotected XRegExp
protected final Stroke
protected SyntaxGraph.RectMap
protected SyntaxGraph.RefPainter
protected final Stroke
Fields inherited from class eu.bandm.tools.d2d2.model.MATCH_ONLY_00
_visitor_debug_stream, partial
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
ASSUME Alt.on is not a singleton, not "deprivated".void
void
void
void
void
action
(CharSetConst cs) void
void
void
void
action
(ParseParticle pp) void
void
void
void
void
void
void
action
(StringConst sc) (package private) void
drawArc
(int xc, int yc, int quad, boolean isTight) (package private) void
drawLine
(int x0, int y0, int x1, int y1, boolean isTight) protected void
drawtriangle
(int x0, int x1, int x2, int y0, int y1, int y2) protected void
paintCharBin
(CharBinary bin, String operator) paintIt
(XRegExp def, SyntaxGraph.RefPainter refPainter) (package private) void
paintOptOrStar
(GrUnary x, boolean isStar, boolean istight) (package private) void
paintPassline
(int xw, int y_inout, boolean hasBackline, boolean istight) Draws a pass-line (for creating epsilon) and additionally a back-line beneath, iff selected.(package private) AffineTransform
shiftCoordinates
(int x, int y) (package private) void
test0()
Methods inherited from class eu.bandm.tools.d2d2.model.SinglePhase
action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, follow_allRawModules, follow_definitions, follow_defInstances, follow_docu, follow_firsts, follow_globalSubsts, follow_imports, follow_itemDocu, follow_localdefs, follow_localSubsts, follow_modules, follow_namespaces, follow_obligates, follow_on, follow_resolved, follow_sources, follow_weakfirsts, follow_xattributes
Methods inherited from class eu.bandm.tools.d2d2.model.MATCH_ONLY_00
_visitor_trace, action, action, action, action, compile, followAll_allRawModules, followAll_definitions, followAll_defInstances, followAll_docu, followAll_firsts, followAll_globalSubsts, followAll_imports, followAll_itemDocu, followAll_localdefs, followAll_localSubsts, followAll_modules, followAll_namespaces, followAll_obligates, followAll_on, followAll_resolved, followAll_sources, followAll_weakfirsts, followAll_xattributes, foreignObject, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, nomatch
-
Field Details
-
currentDef
-
rectMap
-
refPainter
-
tightStroke
-
dotDashStroke
-
-
Constructor Details
-
Painter
public Painter()
-
-
Method Details
-
test0
void test0() -
paintIt
-
drawArc
void drawArc(int xc, int yc, int quad, boolean isTight) -
drawLine
void drawLine(int x0, int y0, int x1, int y1, boolean isTight) -
shiftCoordinates
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
paintPassline
void paintPassline(int xw, int y_inout, boolean hasBackline, boolean istight) Draws a pass-line (for creating epsilon) and additionally a back-line beneath, iff selected. Assumes that this fact has alreadx been respected when calculating the y_inout coordinate and the y-coordinates of the sub-objectes ! -
paintOptOrStar
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
action
ASSUME Alt.on is not a singleton, not "deprivated".- Overrides:
action
in classSinglePhase
-
drawtriangle
protected void drawtriangle(int x0, int x1, int x2, int y0, int y1, int y2) -
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
paintCharBin
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-
action
- Overrides:
action
in classSinglePhase
-