double posX = getBounds().x;
double posY = getBounds().y;
+ gc.drawRectangle(getBounds());
Font oldFont = gc.getFont();
Font labelFont = new Font(oldFont.getName(), 4, oldFont.getStyle());
gc.setFont(labelFont);
- gc.drawRectangle(posX, posY, 50, getBounds().height);
for (int i = 0; i < inputNames.size(); i++)
{
Point textExtent = gc.textExtent(inputNames.get(i));
double posY = getBounds().y;
// TODO maybe draw switch state too?
- gc.drawRectangle(posX, posY, width, height);
+ gc.drawRectangle(getBounds());
String label = bitDisplay == null ? BitVectorFormatter.formatAsString(null)
: BitVectorFormatter.formatAsString(bitDisplay.getDisplayedValue());
Font oldFont = gc.getFont();
double posY = getBounds().y;
// TODO maybe draw switch state too?
- gc.drawRectangle(posX, posY, width, height);
+ gc.drawRectangle(getBounds());
String label = BitVectorFormatter.formatValueAsString(end);
Font oldFont = gc.getFont();
Font labelFont = new Font(oldFont.getName(), fontHeight, oldFont.getStyle());