Examples of Motion


Examples of org.jwildfire.create.tina.dance.motion.Motion

    motionTableClicked();
    enableControls();
  }

  public void unlinkMotionBtn_clicked() {
    Motion selMotion = getSelectedMotion();
    int row = motionLinksTable.getSelectedRow();
    if (selMotion != null && row >= 0 && row <= selMotion.getMotionLinks().size()) {
      int selRow = motionLinksTable.getSelectedRow();
      selMotion.getMotionLinks().remove(row);
      motionTableClicked();
      if (selRow >= selMotion.getMotionLinks().size()) {
        selRow--;
      }
      motionLinksTable.getSelectionModel().setSelectionInterval(selRow, selRow);
      enableControls();
    }
View Full Code Here

Examples of org.jwildfire.create.tina.dance.motion.Motion

  }

  public void renameMotionBtn_clicked() {
    int row = motionTable.getSelectedRow();
    if (row >= 0 && row < project.getMotions().size()) {
      Motion motion = project.getMotions().get(row);
      String s = StandardDialogs.promptForText(rootTabbedPane, "Please enter the new title:", motion.getDisplayLabel());
      if (s != null) {
        motion.setCaption(s);
        refreshMotionTable();
        if (row >= project.getMotions().size()) {
          row--;
        }
        if (row >= 0) {
View Full Code Here

Examples of org.jwildfire.create.tina.dance.motion.Motion

  public List<Motion> getMotions(Flame pFlame) {
    List<Motion> res = new ArrayList<Motion>();
    for (Motion motion : motions) {
      for (MotionLink link : motion.getMotionLinks()) {
        if (link.getProperyPath().getFlame().isEqual(pFlame)) {
          Motion currMotion = motion;
          int iter = 0;
          while (currMotion != null) {
            res.add(currMotion);
            Motion refMotion = currMotion;
            currMotion = null;
            for (Motion nextMotion : getMotions()) {
              if (nextMotion.getParent() == refMotion) {
                currMotion = nextMotion;
                break;
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.