Uses of Interface
org.jjazz.songstructure.api.SongPart
Packages that use SongPart
Package
Description
Music controller: control the overall playback of a song.
Objects and helper methods to generate musical phrases from the song and form the final backing track (see SongSequenceBuilder).
Describe the context for which a backing track should be generated: which (part of the) song, which MidiMix.
Manage the creation/destruction of editors for a new/closed song, plus related actions (eg duplicate song).
The model of a song structure, ie a list of SongParts.
The possible change events received by a SongStructure change listener.
The graphical editor window of a song part.
Service provider for indvidual RhythmParameter editor components.
The SongStructure graphical editor.
The graphical RpViewer component to represent a RhythmParameter value within a SptViewer.
Service provider to provider RpViewer instances for each type of RhythmParameter.
The graphical SongPart viewer component, which holds the RpViewers components.
Service provider to provide SptViewer instances.
-
Uses of SongPart in org.jjazz.musiccontrol.api
Methods in org.jjazz.musiccontrol.api that return SongPartModifier and TypeMethodDescriptionMusicController.getCurrentSongPart()
The current SongPart being played.Methods in org.jjazz.musiccontrol.api with parameters of type SongPartModifier and TypeMethodDescriptionvoid
PlaybackListener.songPartChanged
(SongPart spt) Called on SongPart change.void
PlaybackListenerAdapter.songPartChanged
(SongPart newSpt) -
Uses of SongPart in org.jjazz.pianoroll.api
Methods in org.jjazz.pianoroll.api that return SongPartModifier and TypeMethodDescriptionPianoRollEditorTopComponent.getSongPart()
The edited SongPart, or null if the whole song is edited.Methods in org.jjazz.pianoroll.api with parameters of type SongPartModifier and TypeMethodDescriptionvoid
PianoRollEditorTopComponent.setModelForSongPartCustomPhrase
(SongPart spt, Phrase p, int channel, DrumKit.KeyMap keyMap) Configure the TopComponent to edit a custom phrase of a song part. -
Uses of SongPart in org.jjazz.rhythmmusicgeneration.api
Methods in org.jjazz.rhythmmusicgeneration.api that return types with arguments of type SongPartModifier and TypeMethodDescriptionSongChordSequence.getSongParts()
Get the SongParts (whole or partially) included in this SongChordSequence.Methods in org.jjazz.rhythmmusicgeneration.api with parameters of type SongPartModifier and TypeMethodDescriptionSongChordSequence.getSptBarRange
(SongPart spt) Get the intersection between the specified SongPart and the bar range of this ChordSequence. -
Uses of SongPart in org.jjazz.songcontext.api
Methods in org.jjazz.songcontext.api that return SongPartMethods in org.jjazz.songcontext.api that return types with arguments of type SongPartModifier and TypeMethodDescriptionSongContext.getSongParts()
Get all the song parts (at the time of this object creation) which are contained in this context.Methods in org.jjazz.songcontext.api with parameters of type SongPartModifier and TypeMethodDescriptionboolean
Check if the specified spt has at least one bar in the range of this context.SongContext.getSptBarRange
(SongPart spt) Get the intersection between the song part bar range and this SongContext bar range.SongContext.getSptBeatRange
(SongPart spt) Get the intersection between the song part beat range and this SongContext beat range.SongContext.getSptTickRange
(SongPart spt) Get the range of ticks of spt belonging to this context.Constructors in org.jjazz.songcontext.api with parameters of type SongPartModifierConstructorDescriptionSongPartContext
(Song s, MidiMix mix, SongPart spt) Create a SongPartContext. -
Uses of SongPart in org.jjazz.songeditormanager.api
Methods in org.jjazz.songeditormanager.api with parameters of type SongPartModifier and TypeMethodDescriptionSongEditorManager.showPianoRollEditorForSptCustomPhrase
(Song song, MidiMix midiMix, SongPart spt, RhythmVoice rv, Phrase p) Open (or show) the song's PianoRollEditor and set it up to edit a custom phrase of a SongPart. -
Uses of SongPart in org.jjazz.songstructure.api
Methods in org.jjazz.songstructure.api that return SongPartModifier and TypeMethodDescriptionSongPart.clone
(Rhythm r, int startBarIndex, int nbBars, CLI_Section parentSection) Create a new SongPart with same name based on this object.SongStructure.createSongPart
(Rhythm r, String name, int startBarIndex, int nbBars, CLI_Section parentSection, boolean reusePrevParamValues) Create a new SongPart instance whose container is this object.SongStructure.getSongPart
(int absoluteBarIndex) Get the SongPart which contains a specific bar.SongPartParameter.getSpt()
Methods in org.jjazz.songstructure.api that return types with arguments of type SongPartModifier and TypeMethodDescriptionSongStructure.getSongParts()
SongStructure.getSongParts
(Predicate<SongPart> tester) Get the SongParts which match the tester.Methods in org.jjazz.songstructure.api with parameters of type SongPartModifier and TypeMethodDescriptionSongStructure.getSptItemPosition
(SongPart spt, ChordLeadSheetItem<?> clsItem) Get the absolute position in the song structure of a chordleadsheet item referred to by the specified song part.<T> void
SongStructure.setRhythmParameterValue
(SongPart spt, RhythmParameter<T> rp, T value) Change the value of a specific RhythmParameter.Method parameters in org.jjazz.songstructure.api with type arguments of type SongPartModifier and TypeMethodDescriptionvoid
SongStructure.addSongParts
(List<SongPart> spts) Add one by one a list of SongParts.void
SongStructure.authorizeAddSongParts
(List<SongPart> spts) Check if add operation is doable.void
SongStructure.authorizeRemoveSongParts
(List<SongPart> spts) Check if remove operation is doable.void
SongStructure.authorizeReplaceSongParts
(List<SongPart> oldSpts, List<SongPart> newSpts) Check if replace operation is doable.SongStructure.getSongParts
(Predicate<SongPart> tester) Get the SongParts which match the tester.void
SongStructure.removeSongParts
(List<SongPart> spts) Remove some SongParts.void
SongStructure.replaceSongParts
(List<SongPart> oldSpts, List<SongPart> newSpts) Replace SongParts by other SongParts.void
SongStructure.resizeSongParts
(Map<SongPart, Integer> mapSptSize) Change the size in bars of SongParts.void
SongStructure.setSongPartsName
(List<SongPart> spts, String name) Change the name of one or more SongParts.Constructors in org.jjazz.songstructure.api with parameters of type SongPart -
Uses of SongPart in org.jjazz.songstructure.api.event
Methods in org.jjazz.songstructure.api.event that return SongPartMethods in org.jjazz.songstructure.api.event that return types with arguments of type SongPartModifier and TypeMethodDescriptionSptResizedEvent.getMapOldSptSize()
SptReplacedEvent.getNewSpts()
SgsChangeEvent.getSongParts()
Method parameters in org.jjazz.songstructure.api.event with type arguments of type SongPartConstructors in org.jjazz.songstructure.api.event with parameters of type SongPartModifierConstructorDescriptionRpValueChangedEvent
(SongStructure src, SongPart spt, RhythmParameter<?> rp, Object oldValue, Object newValue) Create an event.SgsChangeEvent
(SongStructure src, SongPart spt) Constructor parameters in org.jjazz.songstructure.api.event with type arguments of type SongPartModifierConstructorDescriptionSgsChangeEvent
(SongStructure src, Collection<SongPart> spts) SptAddedEvent
(SongStructure src, List<SongPart> addedSpts) SptRemovedEvent
(SongStructure src, List<SongPart> removedSpts) SptRenamedEvent
(SongStructure src, Collection<SongPart> renamedSpts) Some SongParts names have been changedSptReplacedEvent
(SongStructure src, List<SongPart> oldSpts, List<SongPart> newSpts) SptResizedEvent
(SongStructure src, Map<SongPart, Integer> mapOldSptSize) Some SongParts have been resized. -
Uses of SongPart in org.jjazz.spteditor.api
Methods in org.jjazz.spteditor.api that return SongPartConstructors in org.jjazz.spteditor.api with parameters of type SongPartModifierConstructorDescriptionRpEditor
(SongPart spt, RhythmParameter<?> rp, RpEditorComponent editor) Initialize the RpEditor for the specified RhythmParameter with the specified editor. -
Uses of SongPart in org.jjazz.spteditor.spi
Methods in org.jjazz.spteditor.spi with parameters of type SongPartModifier and TypeMethodDescriptionDefaultRpEditorComponentFactory.createComponent
(Song song, DefaultRpEditorComponentFactory.Type type, SongPart spt, RhythmParameter<?> rp) Create a RpEditorComponent of the specified type.RpEditorComponentFactory.createComponent
(Song song, SongPart spt, RhythmParameter<?> rp) Create a RpEditorComponent adapted to rp class (whatever the containing rhythm). -
Uses of SongPart in org.jjazz.ss_editor.api
Methods in org.jjazz.ss_editor.api that return SongPartModifier and TypeMethodDescriptionabstract SongPart
SS_Editor.getFocusedSongPart
(boolean includeFocusedRhythmParameter) Get the focused SongPart, if any.Methods in org.jjazz.ss_editor.api that return types with arguments of type SongPartModifier and TypeMethodDescriptionSongPartCopyBuffer.get
(SongStructure targetSgs, int targetStartBarIndex) Return a copy of the SongParts adapted to the specified targetSgs.SS_SelectionUtilities.getIndirectlySelectedSongParts()
The list of selected SongParts (ordered by startBarIndex), or corresponding to the selected RhythmParameters if RhythmParameters are selected.SS_SelectionUtilities.getSelectedSongParts()
Methods in org.jjazz.ss_editor.api with parameters of type SongPartModifier and TypeMethodDescriptionabstract Rectangle
SS_Editor.getRpViewerRectangle
(SongPart spt, RhythmParameter<?> rp) Get the bounds of the component representing the specified RhythmParameter.SS_SelectionUtilities.getSelectedSongPartParameter
(SongPart spt) abstract Rectangle
SS_Editor.getSptViewerRectangle
(SongPart spt) Get the bounds of the component representing the specified SongPart.boolean
SS_SelectionUtilities.isRhythmParameterSelected
(SongPart spt, RhythmParameter<?> rp) boolean
SS_SelectionUtilities.isSongPartSelected
(SongPart spt) abstract void
SS_Editor.makeSptViewerVisible
(SongPart spt) Try to scroll so that the specified song part becomes visible.abstract void
SS_Editor.selectRhythmParameter
(SongPart spt, RhythmParameter<?> rp, boolean b) Select a specific RhythmParameter.abstract void
SS_Editor.selectSongPart
(SongPart spt, boolean b) Select a songpart.abstract void
SS_Editor.setFocusOnRhythmParameter
(SongPart spt, RhythmParameter<?> rp) Set the focus on a specific RhythmParameter.abstract void
SS_Editor.setFocusOnSongPart
(SongPart spt) Set the focus on a specific SongPart.Method parameters in org.jjazz.ss_editor.api with type arguments of type SongPartModifier and TypeMethodDescriptionvoid
Put a copy of each SongPart (and a copy of its parent section) in the buffer.Constructor parameters in org.jjazz.ss_editor.api with type arguments of type SongPart -
Uses of SongPart in org.jjazz.ss_editor.rpviewer.api
Methods in org.jjazz.ss_editor.rpviewer.api that return SongPartModifier and TypeMethodDescriptionMeterRpRenderer.getSongPart()
RpViewerRenderer.getSongPart()
The SongPart context.StringRpRenderer.getSongPart()
RpViewer.getSptModel()
Methods in org.jjazz.ss_editor.rpviewer.api with parameters of type SongPartModifier and TypeMethodDescription<E> void
RpViewerController.rhythmParameterEdit
(SongPart spt, RhythmParameter<E> rp, E rpValue) User has directly edited a RhythmParameter value, probably from a RpViewerEditableRenderer.void
RpViewerController.rhythmParameterEditWithCustomDialog
(SongPart spt, RhythmParameter<?> rp) User wants to use the custom edit dialog of the specified RhythmParameter.Constructors in org.jjazz.ss_editor.rpviewer.api with parameters of type SongPartModifierConstructorDescriptionMeterRpRenderer
(Song song, SongPart spt) RpViewer
(SongPart spt, RhythmParameter<?> rp, RpViewerSettings settings, RpViewerRenderer renderer) StringRpRenderer
(Song song, SongPart spt, Supplier<String> stringSupplier, StringRpRendererSettings settings) -
Uses of SongPart in org.jjazz.ss_editor.rpviewer.spi
Methods in org.jjazz.ss_editor.rpviewer.spi with parameters of type SongPartModifier and TypeMethodDescriptionDefaultRpViewerRendererFactory.getRpViewerRenderer
(Song song, SongPart spt, RhythmParameter<?> rp, DefaultRpViewerRendererFactory.Type type, RpViewerSettings settings) Get the RpViewerRenderer of the specified type.RpViewerRendererFactory.getRpViewerRenderer
(Song song, SongPart spt, RhythmParameter<?> rp, RpViewerSettings settings) Get a RpViewerRenderer instance adapted to the specified RhyhtmParameter. -
Uses of SongPart in org.jjazz.ss_editor.spi
Methods in org.jjazz.ss_editor.spi with parameters of type SongPartModifier and TypeMethodDescriptionvoid
RhythmSelectionDialog.RhythmPreviewProvider.setContext
(Song sg, SongPart spt) Set the context for which the object will preview rhythms. -
Uses of SongPart in org.jjazz.ss_editor.sptviewer.api
Methods in org.jjazz.ss_editor.sptviewer.api that return SongPartMethods in org.jjazz.ss_editor.sptviewer.api with parameters of type SongPartModifier and TypeMethodDescriptionvoid
SptViewerMouseListener.editSongPartName
(SongPart spt) User wants to edit the specified songpart's name.void
SptViewerMouseListener.editSongPartRhythm
(SongPart spt) User wants to edit the specified songpart's rhythm.void
SptViewerMouseListener.rhythmParameterClicked
(MouseEvent e, SongPart spt, RhythmParameter<?> rp) void
SptViewerMouseListener.rhythmParameterDragged
(MouseEvent e, SongPart spt, RhythmParameter<?> rp) void
SptViewerMouseListener.rhythmParameterReleased
(MouseEvent e, SongPart spt, RhythmParameter<?> rp) void
SptViewerMouseListener.rhythmParameterWheelMoved
(MouseWheelEvent e, SongPart spt, RhythmParameter<?> rp) void
SptViewerMouseListener.songPartClicked
(MouseEvent e, SongPart spt, boolean multiSelect) void
SptViewerMouseListener.songPartDragged
(MouseEvent e, SongPart spt) void
SptViewerMouseListener.songPartReleased
(MouseEvent e, SongPart spt) -
Uses of SongPart in org.jjazz.ss_editor.sptviewer.spi
Methods in org.jjazz.ss_editor.sptviewer.spi with parameters of type SongPartModifier and TypeMethodDescriptionSptViewerFactory.createSptViewer
(Song song, SongPart spt, SptViewerSettings settings, DefaultRpViewerRendererFactory factory)