Set the {@link Trajectory} of this {@link TrajectoryEnvelope}.
@param traj The {@link Trajectory} of this {@link TrajectoryEnvelope}.
329654
public void setTrajectory(Trajectory traj) {
		if (this.footprint == null) {
			throw new NoFootprintException("No footprint set for " + this + ", please specify one before setting the trajecotry.");
		}
		else{
			createOuterEnvelope(traj);
		}
		if(this.innerFootprint != null){
			createInnerEnvelope(traj);
		}
		
	}
600957
public void setController(Object object, GraphicsController controller) {
		if (isAttached()) {
			helper.setController(object, controller);
		}
	}
601654
public void setAutoSetNavigation(String autoSetNavigation) {

        m_autoSetNavigation = Boolean.valueOf(autoSetNavigation).booleanValue();
        if (LOG.isDebugEnabled()) {
            LOG.debug(Messages.get().getBundle().key(Messages.LOG_SET_AUTO_NAV_1, autoSetNavigation));
        }
    }
271204
public void setTranslation(List<? extends S> path, Direction1D direction, double curvilineCoord, double shiftCoord) {
		this.path = path == null || path.isEmpty() ? null : new ArrayList<>(path);
		this.firstSegmentDirection = detectFirstSegmentDirection(direction);
		this.curvilineTranslation = curvilineCoord;
		this.shiftTranslation = shiftCoord;
        this.isIdentity = null;
	}
1019219
public FollowPath<T, P> setPath (Path<T, P> path) {
		this.path = path;
		return this;
	}
841529
public void setEgressOnlyInternetGateways(java.util.Collection<EgressOnlyInternetGateway> egressOnlyInternetGateways) {
        if (egressOnlyInternetGateways == null) {
            this.egressOnlyInternetGateways = null;
            return;
        }

        this.egressOnlyInternetGateways = new com.amazonaws.internal.SdkInternalList<EgressOnlyInternetGateway>(egressOnlyInternetGateways);
    }
349808
public void setPath(String path)
    {
        if (getState() != __MSG_EDITABLE) throw new IllegalStateException("Not EDITABLE");
        if (_uri == null)
            _uri = new URI(path);
        else
            _uri.setURI(path);
    }
500941
public void setPaths(@Nonnull List<Path> paths) {
        ArgumentUtils.requireNonNull("paths", paths);
        this.paths = paths;
    }
697223
public void setTranslation(Tuple2D<?> position) {
		assert position != null : AssertMessages.notNullParameter();
		this.curvilineTranslation = position.getX();
		this.shiftTranslation = position.getY();
        this.isIdentity = null;
	}
873435
public void setDirection(final int DIRECTION) {
        switch (DIRECTION) {
            case SwingUtilities.SOUTH:
                direction = SwingUtilities.SOUTH;
                break;
            case SwingUtilities.EAST:
                direction = SwingUtilities.EAST;
                break;
            case SwingUtilities.WEST:
                direction = SwingUtilities.WEST;
                break;
            case SwingUtilities.NORTH:
            default:
                direction = SwingUtilities.NORTH;
                break;
        }
        repaint(getInnerBounds());
    }
155527
public void setProgress(int progress) {
        if (progress > mMax || progress < 0) {
            throw new IllegalArgumentException(
                    String.format("Progress (%d) must be between %d and %d", progress, 0, mMax));
        }
        mProgress = progress;
        if (null != mListener) {
            if (mProgress == mMax) {
                mListener.onProgressCompleted();
            } else {
                mListener.onProgressChanged(mProgress, mMax);
            }
        }
        invalidate();
    }
1344153
public void setCurve (ICubicCurve curve) {
        setCurve(curve.x1(), curve.y1(), curve.ctrlX1(), curve.ctrlY1(),
                 curve.ctrlX2(), curve.ctrlY2(), curve.x2(), curve.y2());
    }
215301
public void setRunDirection(int runDirection) {
        if (runDirection < PdfWriter.RUN_DIRECTION_DEFAULT || runDirection > PdfWriter.RUN_DIRECTION_RTL)
            throw new RuntimeException("Invalid run direction: " + runDirection);
        this.runDirection = runDirection;
    }
107954
@Override
	protected void onUpdate(double progress) {
		View view = trajectory.getView(progress);
		view.setAnimation(progress < 1);
		viewPort.applyView(view);
		eventBus.fireEvent(new NavigationUpdateEvent(this, view));
	}
112253
public void setGoalRevenue(Double goalRevenue){
        if (goalRevenue != null && getGoalId() == null){
            throw new IllegalStateException("GoalId must be set before GoalRevenue can be set.");
        }
        setParameter(GOAL_REVENUE, goalRevenue);
    }
937195
public void route(Route route) {
        // Can be called only once, with a non null route.
        Preconditions.checkState(this.route == null);
        Preconditions.checkNotNull(route);
        this.route = route;
    }
118693
public void setIdentity() {
		this.path = null;
		this.firstSegmentDirection = detectFirstSegmentDirection(null);
		this.curvilineTranslation = 0.;
		this.shiftTranslation = 0.;
        this.isIdentity = Boolean.TRUE;
	}