com.frinika.sequencer.model
Class SynthLane
java.lang.Object
com.frinika.sequencer.model.Lane
com.frinika.sequencer.model.SynthLane
- All Implemented Interfaces:
- EditHistoryRecordable, EditHistoryRecorder<Part>, RecordableLane, Selectable, java.io.Serializable
public class SynthLane
- extends Lane
- implements RecordableLane
- 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, getParts, getProject, isHidden, isOpen, isSelected, leftTickForMove, onLoad, remove, removeAll, removeChildLane, rightTickForMove, setHeight, setHidden, setOpen, setSelected |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynthLane
public SynthLane()
SynthLane
public SynthLane(ProjectContainer project,
MidiDeviceDescriptor desc)
attachAudioProcessToMixer
public void attachAudioProcessToMixer()
getName
public java.lang.String getName()
- Overrides:
getName
in class Lane
setName
public void setName(java.lang.String name)
- Overrides:
setName
in class Lane
removeFromModel
public void removeFromModel()
- Description copied from class:
Lane
- Remove the lane from the project.
Override to do any subclass specific stuff.
(used by undo)
- Specified by:
removeFromModel
in interface Selectable
- Overrides:
removeFromModel
in class Lane
deepCopy
public Selectable deepCopy(Selectable parent)
- Description copied from interface:
Selectable
- Complete copy of object.
- Specified by:
deepCopy
in interface Selectable
- 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
- Specified by:
deepMove
in interface Selectable
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.
- Specified by:
restoreFromClone
in interface EditHistoryRecordable
install
public boolean install(MidiDeviceDescriptor desc)
getMonitorValue
public double getMonitorValue()
- Specified by:
getMonitorValue
in interface RecordableLane
setMute
public void setMute(boolean b)
- Specified by:
setMute
in interface RecordableLane
setSolo
public void setSolo(boolean b)
isRecording
public boolean isRecording()
- Specified by:
isRecording
in interface RecordableLane
isSynthesizer
public boolean isSynthesizer()
setRecording
public void setRecording(boolean b)
- Steal the recording logic (recording == rendered)
- Specified by:
setRecording
in interface RecordableLane
getMixerControls
public uk.org.toot.audio.mixer.MixControls getMixerControls()
isMute
public boolean isMute()
- Specified by:
isMute
in interface RecordableLane
isSolo
public boolean isSolo()
getMidiDescriptor
public MidiDeviceDescriptor getMidiDescriptor()
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)