Package lupos.gui.operatorgraph

Examples of lupos.gui.operatorgraph.DrawObject.draw()


          drawObject = this
              .getOperatorStyle("operatorGraph_style_basicoperator");
        }

        if (drawObject != null) {
          drawObject.draw(g2d, 0, 0, size.width, size.height);
        } else {
          DrawObject.drawSimpleBoxOuterLines(g2d, 0, 0, size.width,
              size.height, Color.WHITE, Color.BLACK);
        }
      }
View Full Code Here


    try {
      if (!BooleanDatatype.getValues("operatorGraph_useStyledBoxes").get(0).booleanValue()) {
        DrawObject.drawSimpleBoxOuterLines(g2d, 0, 0, size.width - 1, size.height - 1, Color.WHITE, Color.BLACK);
      } else {
        final DrawObject drawObject = this.getOperatorStyle("operatorGraph_style_annotations");
        drawObject.draw(g2d, 0, 0, size.width, size.height);
      }
    } catch (final Exception e) {
      System.err.println(e);
      e.printStackTrace();
    }
View Full Code Here

        final byte type = operator.getTypeASByte();

        drawObject = this.getOperatorStyle("operatorGraph_style_" + MAPPING_OPERATORTYPE_TO_PREFERENCES[type]);

        if (drawObject != null) {
          drawObject.draw(g2d, 0, 0, size.width, size.height);
        } else {
          DrawObject.drawSimpleBoxOuterLines(g2d, 0, 0, size.width,
              size.height, Color.WHITE, Color.BLACK);
        }
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.