Package org.jjazz.ss_editor.rpviewer.spi
Interface DefaultRpViewerRendererFactory
- All Superinterfaces:
RpViewerRendererFactory
The default RpViewerRenderer factory.
This factory must handle the default JJazzLab RhythmParameters (RP_State, RP_Integer, RP_StringSet, etc.), and provide a default renderer for unknown RhythmParameters.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The types of renderers supported by this factory. -
Method Summary
Modifier and TypeMethodDescriptionThe default RpViewerRendererFactory.getRpViewerRenderer
(Song song, SongPart spt, RhythmParameter<?> rp, DefaultRpViewerRendererFactory.Type type, RpViewerSettings settings) Get the RpViewerRenderer of the specified type.Methods inherited from interface org.jjazz.ss_editor.rpviewer.spi.RpViewerRendererFactory
getRpViewerRenderer, isSupported
-
Method Details
-
getDefault
The default RpViewerRendererFactory.If an instance is available in the global lookup, return it, otherwise return a default implementation.
- Returns:
-
getRpViewerRenderer
RpViewerRenderer getRpViewerRenderer(Song song, SongPart spt, RhythmParameter<?> rp, DefaultRpViewerRendererFactory.Type type, RpViewerSettings settings) Get the RpViewerRenderer of the specified type.- Parameters:
song
- The context songspt
- The context song partrp
- The context rptype
-settings
-- Returns:
-