com.frinika.sequencer.model
Class ProjectLane
java.lang.Object
com.frinika.sequencer.model.Lane
com.frinika.sequencer.model.ProjectLane
- All Implemented Interfaces:
- EditHistoryRecordable, EditHistoryRecorder<Part>, Selectable, java.io.Serializable
public class ProjectLane
- extends Lane
- See Also:
- Serialized Form
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 |
ProjectLane
public ProjectLane()
- Public constructor for de-externalization
ProjectLane
public ProjectLane(ProjectContainer project)
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)