|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.claudio.qtedit.Timing
public class Timing
Collect the marks lists for all movies. For set of marks maps them to individual time points of each movie.
Method Summary | |
---|---|
static void |
addMark(java.lang.String mark)
Add a new mark to all movies, setting it to the actual location of the movie. |
static void |
adjustMark(int movie,
int time)
Adjust the time of the active mark to the actual time of the movie. |
static java.lang.String[] |
getMarkNames()
Return the name of all marks sorted by time. |
static int |
getOffset(int movie1,
int movie2,
int time)
Compute the offset existing between two movies.Returns the offset to be added to time to get the same point in the second movie |
static int |
getOffsetAtMark(int movie,
java.lang.String mark)
Return the offset of the movie versus the reference movie at the specified mark. |
static int |
getReferenceMovie()
|
static int |
getReferenceTime(java.lang.String mark)
Set the position of all movies to the named mark. |
static int |
movieToReference(int movie,
int time)
Given a time correct in the scale of the specified movie, transform it into a time correct for the reference scale. |
static int |
referenceToMovie(int movie,
int time)
Given a time correct in the scale of |
static void |
saveMarks()
Save all marks lists. |
static void |
setActiveMark(java.lang.String mark)
Set the mark which is currently operated on. |
static void |
setOffsetAtMark(int movie,
java.lang.String mark,
int offset)
Return the offset of the movie versus the reference movie at the specified mark. |
static void |
setPosition(java.lang.String mark)
Set the position of all movies to the named mark. |
static void |
setPreview(Preview pre)
To set the preview so this calls can access the movies. |
static void |
setReferenceMovie(int referenceMovie)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int getReferenceMovie()
public static void setReferenceMovie(int referenceMovie)
referenceMovie
- The referenceMovie to set.public static void setActiveMark(java.lang.String mark)
mark
- Mark namepublic static void setPreview(Preview pre)
pre
- The preview to set.public static int getOffset(int movie1, int movie2, int time)
movie1
- Index of first moviemovie2
- Index of second movietime
- Time in scale of first movie
public static int movieToReference(int movie, int time)
movie
- Movie from which time has to be converted-time
- Time in the scale of the given movie.
public static int referenceToMovie(int movie, int time)
movie
- time
-
public static java.lang.String[] getMarkNames()
public static void setPosition(java.lang.String mark)
mark
- public static int getReferenceTime(java.lang.String mark)
mark
- public static void saveMarks()
public static void addMark(java.lang.String mark)
mark
- Name of the markpublic static void adjustMark(int movie, int time)
movie
- time
- public static int getOffsetAtMark(int movie, java.lang.String mark)
movie
- Movie number.mark
- Makr name.
public static void setOffsetAtMark(int movie, java.lang.String mark, int offset)
movie
- Movie number.mark
- Makr name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |