Examples of move()


Examples of org.waveprotocol.wave.client.editor.selection.html.SelectionWebkit.move()

  public Point<ContentNode> getWordBoundary(boolean forward) {
    Point<ContentNode> boundary = null;
    SelectionWebkit s = SelectionWebkit.getSelection();
    if (forward) {
      s.move(Direction.FORWARD, MoveUnit.WORD);
    } else {
      s.move(Direction.BACKWARD, MoveUnit.WORD);
    }
    try {
      SelectionW3CNative selection = SelectionW3CNative.getSelectionGuarded();

Examples of org.wso2.carbon.registry.core.session.UserRegistry.move()

        UserRegistry registry = initRegistry();

        try {
            registry.beginTransaction();
            registry.move(sourcePath, targetPath);
            registry.commitTransaction();

        } catch (RegistryException e) {
            String errorMsg = "Could not move the resource at "+ sourcePath + " to " + targetPath;
            log.error(errorMsg, e);

Examples of org.zkoss.zss.model.Range.move()

  }
 
  public static void moveRows(Worksheet sheet, int tRow, int bRow, int nRow) {
    final int maxcol = ((Book)sheet.getWorkbook()).getSpreadsheetVersion().getLastColumnIndex();
    final Range rng = Utils.getRange(sheet, tRow, 0, bRow, maxcol);
    rng.move(nRow, 0);
  }

  public static void moveColumns(Worksheet sheet, int lCol, int rCol, int nCol) {
    final int maxrow = ((Book)sheet.getWorkbook()).getSpreadsheetVersion().getLastRowIndex();
    final Range rng = Utils.getRange(sheet, 0, lCol, maxrow, rCol);

Examples of orxanimeditor.data.v1.Frame.move()

        Frame[] frames = (Frame[]) support.getTransferable().getTransferData(FrameFlavor);
        if(support.getDropAction() == COPY)
          for(Frame frame:frames) ((Animation) parent).addFrame(frame.clone(),index++);
        else if (support.getDropAction() == MOVE) {
          index--;
          for(Frame frame:frames) index = frame.move(parent,index);                   
        }
        return true;
      } catch (Exception e) {
          e.printStackTrace();
          return false;

Examples of playRepository.PlayRepository.move()

        Project project = pt.project;

        // Change the project's name and move the repository.
        String newProjectName = Project.newProjectName(pt.destination, project.name);
        PlayRepository repository = RepositoryService.getRepository(project);
        repository.move(project.owner, project.name, pt.destination, newProjectName);

        User newOwnerUser = User.findByLoginId(pt.destination);
        Organization newOwnerOrg = Organization.findByName(pt.destination);

        // Change the project's information.

Examples of scotlandyard.server.GameServer.move()

    HttpServletRequest request = this.getThreadLocalRequest();
    HttpSession session = request.getSession();
    GameServer game = (GameServer)session.getAttribute("GameServerInstance");
    Player player = (Player)session.getAttribute("PlayerInstance");
    System.out.println(player.getName()+" esta tentando se mover para "+destination);
    game.move(player, destination);
  }

  @Override
  public void interfaceReady() {
    HttpServletRequest request = this.getThreadLocalRequest();

Examples of wolf.util.Turtle.move()

      }
      Coordinate startPoint = new Coordinate(x,y);
      double angle = Math.toDegrees(Angle.angle(startPoint, new Coordinate(0,0)));
      Turtle t = new Turtle(startPoint, angle);
      //t.turn(45);
      t.move(32);
      roadQueue.add(new Road(new Intersection(startPoint), new Intersection(t.pos), RoadType.HIGHWAY, basicRule));
    }
    int highwayCount = Math.max((city.sizeX*2+city.sizeY*2)/(3*1024),1);
    for(int i=0; i<highwayCount; i++){
      //highway from random side
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.