Interface BarBoxFactory
public interface BarBoxFactory
Provide BarBox implementations.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(CL_Editor editor, int bbIndex, int clsModelBarIndex, ChordLeadSheet model, BarBoxConfig config, BarBoxSettings settings, BarRendererFactory brf) Construct a BarBox.static BarBoxFactoryReturn the default implementation.
-
Method Details
-
getDefault
-
create
BarBox create(CL_Editor editor, int bbIndex, int clsModelBarIndex, ChordLeadSheet model, BarBoxConfig config, BarBoxSettings settings, BarRendererFactory brf) Construct a BarBox.- Parameters:
editor- Can be nullbbIndex- The index of this BarBox.clsModelBarIndex- Use -1 if this BarBox does not represent model data (typically a bar beyond cls model size)model-config-settings-brf-- Returns:
-