|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.claudio.qtedit.EditList
public class EditList
The edit list stores for each point in time of the resulting movie the number of the source of the movie.
Field Summary | |
---|---|
static int |
END
Constant to indicate end of the movie. |
Constructor Summary | |
---|---|
EditList()
Reads in the list from file or initialises an empty one. |
Method Summary | |
---|---|
void |
addSwitch(int frame,
int movie)
Add a new edit point. |
int |
getLength()
|
int |
getMovie(int time)
given a time as frame count, return the movie number to be displayed at this position. |
boolean |
isNewList()
|
void |
saveEditList()
Save the current state of the edit list. |
java.lang.String |
toString()
Return a human understandable string representation of the edit list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int END
Constructor Detail |
---|
public EditList()
Method Detail |
---|
public boolean isNewList()
public void addSwitch(int frame, int movie)
frame
- time of switch as frame number.movie
- New movie to which to switch.public int getMovie(int time)
time
- as number of frame since start of the edited movie.
public int getLength()
public void saveEditList()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |