org.rubato.rubettes.bigbang.model.operations
Class AbstractObjectBasedOperation

java.lang.Object
  extended by org.rubato.rubettes.bigbang.model.operations.AbstractOperation
      extended by org.rubato.rubettes.bigbang.model.operations.AbstractObjectBasedOperation
Direct Known Subclasses:
BuildSatellitesOperation, DeleteObjectsOperation, FlattenOperation

public abstract class AbstractObjectBasedOperation
extends AbstractOperation


Constructor Summary
AbstractObjectBasedOperation(BigBangModel model, java.util.Set<BigBangObject> objects)
           
AbstractObjectBasedOperation(BigBangModel model, XMLReader reader, org.w3c.dom.Element element)
           
 
Method Summary
 java.util.List<AbstractOperation> getSplitOperations(double ratio)
           
 
Methods inherited from class org.rubato.rubettes.bigbang.model.operations.AbstractOperation
clone, clone, execute, getDuration, getPresentationName, isAnimatable, isSplittable, modify, setDuration, toString, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractObjectBasedOperation

public AbstractObjectBasedOperation(BigBangModel model,
                                    java.util.Set<BigBangObject> objects)

AbstractObjectBasedOperation

public AbstractObjectBasedOperation(BigBangModel model,
                                    XMLReader reader,
                                    org.w3c.dom.Element element)
Method Detail

getSplitOperations

public java.util.List<AbstractOperation> getSplitOperations(double ratio)
Overrides:
getSplitOperations in class AbstractOperation
Parameters:
ratio - a number between 0 and 1
Returns:
a list with two operations that represent this operation split at the given ratio. null if not splittable