public final void setSecondaryID(Comparable<?> secondaryId) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.secondaryId = secondaryId; }
public final void setDuration(long durationMs) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.duration = durationMs; }
public final void setCycleDelay(long cycleDelay) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.cycleDelay = cycleDelay; }
public final void setDuration(long durationMs) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.duration = durationMs; }
public final void setSecondaryID(Comparable<?> secondaryId) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.secondaryId = secondaryId; }
public final void setInitialDelay(long initialDelay) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.initialDelay = initialDelay; }
public final void setInitialDelay(long initialDelay) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.initialDelay = initialDelay; }
public final void setCycleDelay(long cycleDelay) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.cycleDelay = cycleDelay; }
public final void removeCallback(TimelineCallback callback) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.callback.removeCallback(callback); }
public final void addCallback(TimelineCallback callback) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.callback.addCallback(callback); }
public final void addCallback(TimelineCallback callback) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.callback.addCallback(callback); }
public final void removeCallback(TimelineCallback callback) { if (this.getState() != TimelineState.IDLE) { throw new IllegalArgumentException( "Cannot change state of non-idle timeline [" + this.toString() + "]"); } this.callback.removeCallback(callback); }