|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.sampled.nondestructive.AbstractElement
com.groovemanager.sampled.nondestructive.InsertElement
A CutListElement that inserts another CutListSource at a specified position. Can be used for paste operations
| Field Summary | |
|---|---|
private int |
position
The position in sample frames where to insert the source |
private CutListSource |
source
The source to insert |
| Constructor Summary | |
|---|---|
InsertElement(CutListSource source,
int position)
Create a new InsertElement |
|
| Method Summary | |
|---|---|
CutListElement |
duplicate()
Create a new CutListElement out of this one that is independent of any changes made to this one. |
CutListSource |
getResult(CutListSource source)
Create a new CutListSource out of the given source including this CutListElementīs modification. |
void |
replaceFile(java.io.File from,
java.io.File to)
Replace all references to the given source file inside this CutListElement with references to the given target file. |
boolean |
usesFile(java.io.File f)
Ask this CutListElement whether it relies on the contents of the given file. |
| Methods inherited from class com.groovemanager.sampled.nondestructive.AbstractElement |
|---|
addModificationListener, getName, notifyListeners, removeModificationListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int position
private CutListSource source
| Constructor Detail |
|---|
public InsertElement(CutListSource source,
int position)
source - The source to insertposition - The position where to insert the source| Method Detail |
|---|
public CutListElement duplicate()
CutListElement
CutListElement.duplicate()public CutListSource getResult(CutListSource source)
CutListElement
source - The CutListSource to modify
CutListElement.getResult(com.groovemanager.sampled.nondestructive.CutListSource)
public void replaceFile(java.io.File from,
java.io.File to)
CutListElement
from - The source file to replaceto - The target file to replace withCutListElement.replaceFile(java.io.File, java.io.File)public boolean usesFile(java.io.File f)
CutListElement
f - The file to ask for
CutListElement.usesFile(java.io.File)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||