com.frinika.sequencer.model
Class ProjectLane

java.lang.Object
  extended by com.frinika.sequencer.model.Lane
      extended by com.frinika.sequencer.model.ProjectLane
All Implemented Interfaces:
EditHistoryRecordable, EditHistoryRecorder<Part>, Selectable, java.io.Serializable

public class ProjectLane
extends Lane

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.frinika.sequencer.model.Lane
children, height, parts
 
Constructor Summary
ProjectLane()
          Public constructor for de-externalization
ProjectLane(ProjectContainer project)
           
 
Method Summary
 Part createPart()
           
 Selectable deepCopy(Selectable parent)
          Complete copy of object.
 void deepMove(long tick)
          Move object and all children by tick
 javax.swing.Icon getIcon()
           
 void notifyViewChanged()
           
 void restoreFromClone(EditHistoryRecordable object)
          On removal the EditHistoryContainer will attempt to clone the object - and if restored later it will use the restoreFromClone method to restore the cloned data on the original instance.
 long rightTickForMove()
           
 
Methods inherited from class com.frinika.sequencer.model.Lane
add, addChildLane, addChildLane, addToModel, clone, displayStructure, getChildren, getDisplayH, getDisplayID, getDisplayY, getFamilyLanes, getHeight, getName, getParts, getProject, isHidden, isOpen, isSelected, leftTickForMove, onLoad, remove, removeAll, removeChildLane, removeFromModel, setHeight, setHidden, setName, setOpen, setSelected
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectLane

public ProjectLane()
Public constructor for de-externalization


ProjectLane

public ProjectLane(ProjectContainer project)
Method Detail

restoreFromClone

public void restoreFromClone(EditHistoryRecordable object)
Description copied from interface: EditHistoryRecordable
On removal the EditHistoryContainer will attempt to clone the object - and if restored later it will use the restoreFromClone method to restore the cloned data on the original instance.


notifyViewChanged

public void notifyViewChanged()

deepCopy

public Selectable deepCopy(Selectable parent)
Description copied from interface: Selectable
Complete copy of object.

Parameters:
parent - owner of the new object;
Returns:

deepMove

public void deepMove(long tick)
Description copied from interface: Selectable
Move object and all children by tick


rightTickForMove

public long rightTickForMove()
Specified by:
rightTickForMove in interface Selectable
Overrides:
rightTickForMove in class Lane

createPart

public Part createPart()
Specified by:
createPart in class Lane

getIcon

public javax.swing.Icon getIcon()
Specified by:
getIcon in class Lane
Returns:
icon for the gui (e.g. lane header)