|
|||||||||
| Home >> All >> virtuoso >> asaph >> util >> [ render overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
virtuoso.asaph.util.render
Class ChordFragmentGroup

java.lang.Objectvirtuoso.asaph.util.render.ChordFragmentGroup
- public class ChordFragmentGroup
- extends java.lang.Object
A group of chord fragments associated with a ChordAnnotation. The position and width of this object also includes the anchor, so it may be a little bigger than the actual combined span of the constituent ChordFragments.
| Field Summary | |
private float |
anchor_
|
private java.util.List |
fragments_
|
private float |
margin_
|
private com.virtuosotechnologies.asaph.model.ChordAnnotation |
model_
|
private float |
position_
|
private float |
width_
|
| Constructor Summary | |
(package private) |
ChordFragmentGroup(com.virtuosotechnologies.asaph.model.ChordAnnotation model,
float anchor,
float placeholderWidth)
Constructor |
| Method Summary | |
(package private) void |
addChordFragment(ChordFragment fragment)
|
float |
getAnchorPosition()
Get the anchor position |
com.virtuosotechnologies.asaph.model.ChordAnnotation |
getChordAnnotation()
Get the string |
int |
getChordFragmentCount()
Get number of chord fragments |
java.util.List |
getChordFragments()
Get unmodifiable list view of the chord fragments |
ChordFragment |
getNthChordFragment(int n)
Get nth chord fragment |
float |
getPosition()
Get the left side |
float |
getWidth()
Get the width |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
model_
private com.virtuosotechnologies.asaph.model.ChordAnnotation model_
fragments_
private java.util.List fragments_
position_
private float position_
width_
private float width_
anchor_
private float anchor_
margin_
private float margin_
| Constructor Detail |
ChordFragmentGroup
ChordFragmentGroup(com.virtuosotechnologies.asaph.model.ChordAnnotation model, float anchor, float placeholderWidth)
- Constructor
| Method Detail |
getChordAnnotation
public com.virtuosotechnologies.asaph.model.ChordAnnotation getChordAnnotation()
- Get the string
getPosition
public float getPosition()
- Get the left side
getWidth
public float getWidth()
- Get the width
getAnchorPosition
public float getAnchorPosition()
- Get the anchor position
getChordFragments
public java.util.List getChordFragments()
- Get unmodifiable list view of the chord fragments
getChordFragmentCount
public int getChordFragmentCount()
- Get number of chord fragments
getNthChordFragment
public ChordFragment getNthChordFragment(int n)
- Get nth chord fragment
addChordFragment
void addChordFragment(ChordFragment fragment)
|
|||||||||
| Home >> All >> virtuoso >> asaph >> util >> [ render overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
virtuoso.asaph.util.render.ChordFragmentGroup