Package nu.fw.jeti.plugins.drawing.shapes

Examples of nu.fw.jeti.plugins.drawing.shapes.TextShape


   * the previous text.
   */
  public void mouseClicked(MouseEvent e, Color c, Double point, int scaleX, int scaleY) {
    chat.unselect();
    if (e.getClickCount() >= 2) {
      TextShape shape = chat.getClickedTextShape(point, scaleX, scaleY);
      if (shape != null) {
        board.setCurrentShape(shape);
        startEditing(shape, scaleX, scaleY);
        return;
      }
    }
    if (board.getCurrentShape() == null) {
      TextShape s = new TextShape(
          chat.getMyJID(), board.getFontForegroundColor(),
          board.getCurrentFont(), point);
      startEditing(s, scaleX, scaleY);
    } else {
      // we look if it is clicked in out shape; if not, we have to finish editing the shape
View Full Code Here

TOP

Related Classes of nu.fw.jeti.plugins.drawing.shapes.TextShape

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.