Examples of moveDown()


Examples of org.apache.jetspeed.layout.PortletPlacementContext.moveDown()

                {
                    returnCoordinate = placement.moveUp(fragment);
                }
                else if (iMoveType == DOWN)
                {
                    returnCoordinate = placement.moveDown(fragment);
                }
                else if (iMoveType == CARTESIAN)
                {
                    String sx = getActionParameter(requestContext, X);
                    String sy = getActionParameter(requestContext, Y);
View Full Code Here

Examples of org.apache.jetspeed.layout.PortletPlacementContext.moveDown()

                {
                    returnCoordinate = placement.moveUp(fragment);
                }
                else if (iMoveType == DOWN)
                {
                    returnCoordinate = placement.moveDown(fragment);
                }
                else if (iMoveType == CARTESIAN)
                {
                    String sx = getActionParameter(requestContext, X);
                    String sy = getActionParameter(requestContext, Y);
View Full Code Here

Examples of org.apache.lenya.cms.publication.DefaultSiteTree.moveDown()

        try {
            DefaultSiteTree tree = getPublication().getSiteTree(Publication.AUTHORING_AREA);
            if (getDirection().equals(UP)) {
                tree.moveUp(getDocumentId());
            } else if (getDirection().equals(DOWN)) {
                tree.moveDown(getDocumentId());
            } else {
                throw new BuildException(
                    "The direction in which the node should be moved isn't specified.");
            }
            tree.save();
View Full Code Here

Examples of org.apache.lenya.cms.publication.SiteTree.moveDown()

        try {
            SiteTree tree = getPublication().getTree(Publication.AUTHORING_AREA);
            if (getDirection().equals(UP)) {
                tree.moveUp(getDocumentId());
            } else if (getDirection().equals(DOWN)) {
                tree.moveDown(getDocumentId());
            } else {
                throw new BuildException(
                    "The direction in which the node should be moved isn't specified.");
            }
            tree.save();
View Full Code Here

Examples of org.apache.lenya.cms.publication.SiteTree.moveDown()

        try {
            SiteTree tree = getPublication().getTree(Publication.AUTHORING_AREA);
            if (getDirection().equals(UP)) {
                tree.moveUp(getDocumentId());
            } else if (getDirection().equals(DOWN)) {
                tree.moveDown(getDocumentId());
            } else {
                throw new BuildException(
                    "The direction in which the node should be moved isn't specified.");
            }
            tree.save();
View Full Code Here

Examples of org.apache.lenya.cms.site.tree.SiteTree.moveDown()

                SiteTree tree = (SiteTree) structure;
                String direction = getParameterAsString(DIRECTION);
                if (direction.equals(UP)) {
                    tree.moveUp(getSourceDocument().getPath());
                } else if (direction.equals(DOWN)) {
                    tree.moveDown(getSourceDocument().getPath());
                } else {
                    throw new IllegalArgumentException("The direction [" + direction
                            + "] is not supported.");
                }
            } else {
View Full Code Here

Examples of org.apache.lenya.cms.site.tree.SiteTree.moveDown()

                SiteTree tree = (SiteTree) structure;
                String direction = getParameterAsString(DIRECTION);
                if (direction.equals(UP)) {
                    tree.moveUp(getSourceDocument().getId());
                } else if (direction.equals(DOWN)) {
                    tree.moveDown(getSourceDocument().getId());
                } else {
                    throw new IllegalArgumentException("The direction [" + direction
                            + "] is not supported.");
                }
            } else {
View Full Code Here

Examples of org.gudy.azureus2.core3.global.GlobalManager.moveDown()

        ci.out.println("> Torrent #" + Integer.toString(number) + " (" + name + ") already at top.");
      }
    } else {
      if (gm.isMoveableDown(dm)) {
        while (gm.isMoveableDown(dm))
          gm.moveDown(dm);
        gm.fixUpDownloadManagerPositions();
        ci.out.println("> Torrent #" + Integer.toString(number) + " (" + name + ") moved to bottom.");
      } else {
        ci.out.println("> Torrent #" + Integer.toString(number) + " (" + name + ") already at bottom.");
      }
View Full Code Here

Examples of org.gudy.azureus2.core3.global.GlobalManager.moveDown()

              }
            });
            for (int i = 0; i < dms.length; i++) {
              DownloadManager dm = dms[i];
              if (gm.isMoveableDown(dm)) {
                gm.moveDown(dm);
              }
            }
          }
        }
      }
View Full Code Here

Examples of org.rhq.enterprise.gui.legacy.WebUserPreferences.DashboardPreferences.moveDown()

        WebUser user = SessionUtils.getWebUser(session);
        WebUserPreferences preferences = user.getWebPreferences();

        String portlet = request.getParameter("portletName");
        DashboardPreferences dashboardPreferences = preferences.getDashboardPreferences();
        dashboardPreferences.moveDown(portlet);
        preferences.setDashboardPreferences(dashboardPreferences);

        request.getSession().removeAttribute(Constants.USERS_SES_PORTAL);

        return mapping.findForward(Constants.AJAX_URL);
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.