public class SSystemList
extends java.lang.Object
SSystem| Constructor and Description |
|---|
SSystemList()
construct an empty SSystemList
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSystem(SSystem sys)
Add a
SSystem to the end of this list. |
void |
clear()
Clear all
SSystems from the list |
Size |
getBounds(float systemspacing)
get the bounds of the systems
|
int |
getSize()
Get the number of
SSystem in this SystemList. |
SSystem |
getSystemAt(int sysindex)
Get a SSystem from the list by index.
|
int |
getSystemIndexForBar(int barindex)
for a given bar return the index of the SSystem in this SSystemList which contains it
|
public SSystemList()
score - public void clear()
SSystems from the listpublic int getSize()
SSystem in this SystemList.public void addSystem(SSystem sys)
SSystem to the end of this list.
Normally called from the layout callback.
sys - the SSystem to addpublic SSystem getSystemAt(int sysindex)
sysindex - the index of the system (usually from the top of the score)public Size getBounds(float systemspacing)
systemspacing - the spacing between systems (0 = use default)public int getSystemIndexForBar(int barindex)
barindex - the index of the bar