public class Tremolo extends Object
Java class for tremolo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="tremolo">
<simpleContent>
<extension base="<>tremolo-marks">
<attGroup ref="{}placement"/>
<attGroup ref="{}print-style"/>
<attribute name="type" type="{}start-stop-single" default="single" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
color |
protected BigDecimal |
defaultX |
protected BigDecimal |
defaultY |
protected String |
fontFamily |
protected String |
fontSize |
protected FontStyle |
fontStyle |
protected FontWeight |
fontWeight |
protected AboveBelow |
placement |
protected BigDecimal |
relativeX |
protected BigDecimal |
relativeY |
protected StartStopSingle |
type |
protected int |
value |
| Constructor and Description |
|---|
Tremolo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColor()
Gets the value of the color property.
|
BigDecimal |
getDefaultX()
Gets the value of the defaultX property.
|
BigDecimal |
getDefaultY()
Gets the value of the defaultY property.
|
String |
getFontFamily()
Gets the value of the fontFamily property.
|
String |
getFontSize()
Gets the value of the fontSize property.
|
FontStyle |
getFontStyle()
Gets the value of the fontStyle property.
|
FontWeight |
getFontWeight()
Gets the value of the fontWeight property.
|
AboveBelow |
getPlacement()
Gets the value of the placement property.
|
BigDecimal |
getRelativeX()
Gets the value of the relativeX property.
|
BigDecimal |
getRelativeY()
Gets the value of the relativeY property.
|
StartStopSingle |
getType()
Gets the value of the type property.
|
int |
getValue()
The number of tremolo marks is represented by a number from 0 to 8: the same as beam-level with 0 added.
|
void |
setColor(String value)
Sets the value of the color property.
|
void |
setDefaultX(BigDecimal value)
Sets the value of the defaultX property.
|
void |
setDefaultY(BigDecimal value)
Sets the value of the defaultY property.
|
void |
setFontFamily(String value)
Sets the value of the fontFamily property.
|
void |
setFontSize(String value)
Sets the value of the fontSize property.
|
void |
setFontStyle(FontStyle value)
Sets the value of the fontStyle property.
|
void |
setFontWeight(FontWeight value)
Sets the value of the fontWeight property.
|
void |
setPlacement(AboveBelow value)
Sets the value of the placement property.
|
void |
setRelativeX(BigDecimal value)
Sets the value of the relativeX property.
|
void |
setRelativeY(BigDecimal value)
Sets the value of the relativeY property.
|
void |
setType(StartStopSingle value)
Sets the value of the type property.
|
void |
setValue(int value)
Sets the value of the value property.
|
protected int value
protected StartStopSingle type
protected AboveBelow placement
protected BigDecimal defaultX
protected BigDecimal defaultY
protected BigDecimal relativeX
protected BigDecimal relativeY
protected String color
protected String fontFamily
protected FontStyle fontStyle
protected String fontSize
protected FontWeight fontWeight
public int getValue()
public void setValue(int value)
public StartStopSingle getType()
StartStopSinglepublic void setType(StartStopSingle value)
value - allowed object is
StartStopSinglepublic AboveBelow getPlacement()
AboveBelowpublic void setPlacement(AboveBelow value)
value - allowed object is
AboveBelowpublic BigDecimal getDefaultX()
BigDecimalpublic void setDefaultX(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getDefaultY()
BigDecimalpublic void setDefaultY(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getRelativeX()
BigDecimalpublic void setRelativeX(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getRelativeY()
BigDecimalpublic void setRelativeY(BigDecimal value)
value - allowed object is
BigDecimalpublic String getColor()
Stringpublic void setColor(String value)
value - allowed object is
Stringpublic String getFontFamily()
Stringpublic void setFontFamily(String value)
value - allowed object is
Stringpublic FontStyle getFontStyle()
FontStylepublic void setFontStyle(FontStyle value)
value - allowed object is
FontStylepublic String getFontSize()
Stringpublic void setFontSize(String value)
value - allowed object is
Stringpublic FontWeight getFontWeight()
FontWeightpublic void setFontWeight(FontWeight value)
value - allowed object is
FontWeightCopyright © 2016 Audiveris Ltd. All rights reserved.