1 package de.lathanda.eos.gui.structogram;
3 import de.lathanda.eos.baseparser.AlternativeUnit;
4 import de.lathanda.eos.gui.diagram.Drawing;
5 import de.lathanda.eos.gui.diagram.Unit;
6 import de.lathanda.eos.gui.text.Text;
18 private final String label;
19 private final String yes =
Text.
LABEL.getString(
"Yes");
20 private final String no =
Text.
LABEL.getString(
"No");
50 width = 2 * textwidth;
57 condy = (textheight * 2);
63 textx = condx / 2 +
width / 4 - textwidth / 2;
65 yesy = texty + textheight;
float stringWidth(String text)
void drawLine(float x1, float y1, float x2, float y2)
void drawRect(float x, float y, float width, float height)
void drawString(String text, float x, float y)
static Font STANDARD_FONT
final void layout(Drawing d)
final void draw(Drawing d)
void setOffsetY(float offsetY)
void setOffsetX(float offsetX)
static final float BORDER
void layoutUnit(Drawing d)
void setWidth(float width)
void setWidth(float width)
ProgramSequence getElse()
ProgramSequence getThen()