public class Clip
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Settings for one clip in a composition. All jobs in a playlist must have the same clip settings.
Modifier and Type | Field and Description |
---|---|
private TimeSpan |
timeSpan
Settings that determine when a clip begins and how long it lasts.
|
Constructor and Description |
---|
Clip() |
Modifier and Type | Method and Description |
---|---|
Clip |
clone() |
boolean |
equals(java.lang.Object obj) |
TimeSpan |
getTimeSpan()
Settings that determine when a clip begins and how long it lasts.
|
int |
hashCode() |
void |
setTimeSpan(TimeSpan timeSpan)
Settings that determine when a clip begins and how long it lasts.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Clip |
withTimeSpan(TimeSpan timeSpan)
Settings that determine when a clip begins and how long it lasts.
|
private TimeSpan timeSpan
Settings that determine when a clip begins and how long it lasts.
public void setTimeSpan(TimeSpan timeSpan)
Settings that determine when a clip begins and how long it lasts.
timeSpan
- Settings that determine when a clip begins and how long it lasts.public TimeSpan getTimeSpan()
Settings that determine when a clip begins and how long it lasts.
public Clip withTimeSpan(TimeSpan timeSpan)
Settings that determine when a clip begins and how long it lasts.
timeSpan
- Settings that determine when a clip begins and how long it lasts.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Clip clone()
clone
in class java.lang.Object