Examples of DragAction


Examples of ca.nengo.ui.lib.actions.DragAction

        startStandardOptionSelection(e);
      }

      Collection<WorldObject> nodes = getSelection();
      if (nodes.size() > 0) {
        dragAction = new DragAction(nodes);
        panHandler.setInverted(true);
      }

    }
  }
View Full Code Here

Examples of com.l2client.gui.dnd.DragAction

  }
 
  public void addUsable(BaseUsable[] useArr, JMEDesktop desktop) {
    for (BaseUsable use : useArr) {
      if (use != null) {
        DragAction d = new DragAction(desktop, use);
        d.setPreferredSize(new java.awt.Dimension(32, 32));
        d.setContentAreaFilled(true);
        addComponentToPane(d, use.getCategory());
      }
    }
  }
View Full Code Here

Examples of net.sourceforge.marathon.action.DragAction

                // undo the click:
                recorder.record(new UndoOperation(lastClickRecorded, scriptModel, windowMonitor).enscript(component));
            }
            if (finder != null)
                finder.markUsed(component);
            recorder.record(new DragAction(component.getComponentId(), e, dragStartPoint, e.getPoint(), scriptModel, windowMonitor)
                    .enscript(component));
        }
        // reset
        clearDrag();
    }
View Full Code Here

Examples of net.sourceforge.marathon.action.DragAction

        Point start = getPosition(params);
        Point end = getPosition(params);
        // String modifiers = getModifiers(params) ;
        Object componentInfo = getComponentInfo(params);
        // FIXME: modifiers not yet supported
        play(new DragAction(new ComponentId(componentName, componentInfo), /*
                                                                            * modifiers
                                                                            * ,
                                                                            */start, end, scriptModel, windowMonitor));
    }
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.