ch.claudio.qtedit
Class MarkList
java.lang.Object
ch.claudio.qtedit.MarkList
public final class MarkList
- extends java.lang.Object
- Author:
- claudio
Method Summary |
java.lang.String |
getMark(int time)
|
int |
getMarkBefore(int time)
|
java.lang.String[] |
getMarkNames()
|
int |
getTime(java.lang.String mark)
|
boolean |
isNewList()
|
java.util.Iterator<java.lang.Integer> |
iterator()
|
void |
put(int time,
java.lang.String mark)
|
void |
saveMarkList()
Save the current state of the mark 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 |
MarkList
public MarkList(int movie)
isNewList
public boolean isNewList()
saveMarkList
public void saveMarkList()
- Save the current state of the mark list. Call this often.
getTime
public int getTime(java.lang.String mark)
put
public void put(int time,
java.lang.String mark)
getMark
public java.lang.String getMark(int time)
getMarkBefore
public int getMarkBefore(int time)
iterator
public java.util.Iterator<java.lang.Integer> iterator()
toString
public java.lang.String toString()
- Return a human understandable string representation of the edit list.
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
getMarkNames
public java.lang.String[] getMarkNames()