Package net.sf.arianne.marboard.client.entity.shape

Examples of net.sf.arianne.marboard.client.entity.shape.StraightLine


      rpobject.put("thickness", boardState.getThickness());
      rpobject.put("x", startX);
      rpobject.put("y", startY);
      rpobject.put("x2", event.getX());
      rpobject.put("y2", event.getY());
      Shape line = new StraightLine(rpobject);
      board.drawTemporaryShape(line);
    }
  }
View Full Code Here


    } else if (rpclass.equals("dot")) {
      return new Dot(rpobject);
    } else if (rpclass.equals("rectangle")) {
      return new Rectangle(rpobject);
    } else if (rpclass.equals("straight_line")) {
      return new StraightLine(rpobject);
    } else if (rpclass.equals("oval")) {
      return new Oval(rpobject);
    } else {
      logger.error("Unknown Entity class " + rpclass + ": " + rpobject);
      return new Entity(rpobject);
View Full Code Here

TOP

Related Classes of net.sf.arianne.marboard.client.entity.shape.StraightLine

Copyright © 2018 www.massapicom. 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.