Package org.audiveris.proxymusic
Class Time
java.lang.Object
org.audiveris.proxymusic.Time
Time signatures are represented by the beats element for the numerator and the beat-type element for the denominator. The symbol attribute is used to indicate common and cut time symbols as well as a single number display. Multiple pairs of beat and beat-type elements are used for composite time signatures with multiple denominators, such as 2/4 + 3/8. A composite such as 3+2/8 requires only one beat/beat-type pair.
The print-object attribute allows a time signature to be specified but not printed, as is the case for excerpts from the middle of a score. The value is "yes" if not present. The optional number attribute refers to staff numbers within the part. If absent, the time signature applies to all staves in the part.
Java class for time complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="time">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<sequence>
<group ref="{}time-signature" maxOccurs="unbounded"/>
<element name="interchangeable" type="{}interchangeable" minOccurs="0"/>
</sequence>
<element name="senza-misura" type="{http://www.w3.org/2001/XMLSchema}string"/>
</choice>
<attGroup ref="{}print-object"/>
<attGroup ref="{}print-style-align"/>
<attGroup ref="{}optional-unique-id"/>
<attribute name="number" type="{}staff-number" />
<attribute name="symbol" type="{}time-symbol" />
<attribute name="separator" type="{}time-separator" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected LeftCenterRightprotected Stringprotected Interchangeableprotected BigIntegerprotected YesNoprotected BigDecimalprotected BigDecimalprotected Stringprotected TimeSeparatorprotected TimeSymbolprotected Valign -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the value of the color property.Gets the value of the defaultX property.Gets the value of the defaultY property.Gets the value of the fontFamily property.Gets the value of the fontSize property.Gets the value of the fontStyle property.Gets the value of the fontWeight property.Gets the value of the halign property.getId()Gets the value of the id property.Gets the value of the interchangeable property.Gets the value of the number property.Gets the value of the printObject property.Gets the value of the relativeX property.Gets the value of the relativeY property.Gets the value of the senzaMisura property.Gets the value of the separator property.Gets the value of the symbol property.Gets the value of the timeSignature property.Gets the value of the valign property.voidSets the value of the color property.voidsetDefaultX(BigDecimal value) Sets the value of the defaultX property.voidsetDefaultY(BigDecimal value) Sets the value of the defaultY property.voidsetFontFamily(String value) Sets the value of the fontFamily property.voidsetFontSize(String value) Sets the value of the fontSize property.voidsetFontStyle(FontStyle value) Sets the value of the fontStyle property.voidsetFontWeight(FontWeight value) Sets the value of the fontWeight property.voidsetHalign(LeftCenterRight value) Sets the value of the halign property.voidSets the value of the id property.voidSets the value of the interchangeable property.voidsetNumber(BigInteger value) Sets the value of the number property.voidsetPrintObject(YesNo value) Sets the value of the printObject property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidsetSenzaMisura(String value) Sets the value of the senzaMisura property.voidsetSeparator(TimeSeparator value) Sets the value of the separator property.voidsetSymbol(TimeSymbol value) Sets the value of the symbol property.voidSets the value of the valign property.
-
Field Details
-
timeSignature
-
interchangeable
-
senzaMisura
-
number
-
symbol
-
separator
-
printObject
-
valign
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
halign
-
id
-
-
Constructor Details
-
Time
public Time()
-
-
Method Details
-
getTimeSignature
Gets the value of the timeSignature property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the timeSignature property.For example, to add a new item, do as follows:
getTimeSignature().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<String>JAXBElement<String> -
getInterchangeable
Gets the value of the interchangeable property.- Returns:
- possible object is
Interchangeable
-
setInterchangeable
Sets the value of the interchangeable property.- Parameters:
value- allowed object isInterchangeable
-
getSenzaMisura
Gets the value of the senzaMisura property.- Returns:
- possible object is
String
-
setSenzaMisura
Sets the value of the senzaMisura property.- Parameters:
value- allowed object isString
-
getNumber
Gets the value of the number property.- Returns:
- possible object is
BigInteger
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isBigInteger
-
getSymbol
Gets the value of the symbol property.- Returns:
- possible object is
TimeSymbol
-
setSymbol
Sets the value of the symbol property.- Parameters:
value- allowed object isTimeSymbol
-
getSeparator
Gets the value of the separator property.- Returns:
- possible object is
TimeSeparator
-
setSeparator
Sets the value of the separator property.- Parameters:
value- allowed object isTimeSeparator
-
getPrintObject
Gets the value of the printObject property.- Returns:
- possible object is
YesNo
-
setPrintObject
Sets the value of the printObject property.- Parameters:
value- allowed object isYesNo
-
getValign
Gets the value of the valign property.- Returns:
- possible object is
Valign
-
setValign
Sets the value of the valign property.- Parameters:
value- allowed object isValign
-
getColor
Gets the value of the color property.- Returns:
- possible object is
String
-
setColor
Sets the value of the color property.- Parameters:
value- allowed object isString
-
getFontFamily
Gets the value of the fontFamily property.- Returns:
- possible object is
String
-
setFontFamily
Sets the value of the fontFamily property.- Parameters:
value- allowed object isString
-
getFontStyle
Gets the value of the fontStyle property.- Returns:
- possible object is
FontStyle
-
setFontStyle
Sets the value of the fontStyle property.- Parameters:
value- allowed object isFontStyle
-
getFontSize
Gets the value of the fontSize property.- Returns:
- possible object is
String
-
setFontSize
Sets the value of the fontSize property.- Parameters:
value- allowed object isString
-
getFontWeight
Gets the value of the fontWeight property.- Returns:
- possible object is
FontWeight
-
setFontWeight
Sets the value of the fontWeight property.- Parameters:
value- allowed object isFontWeight
-
getDefaultX
Gets the value of the defaultX property.- Returns:
- possible object is
BigDecimal
-
setDefaultX
Sets the value of the defaultX property.- Parameters:
value- allowed object isBigDecimal
-
getDefaultY
Gets the value of the defaultY property.- Returns:
- possible object is
BigDecimal
-
setDefaultY
Sets the value of the defaultY property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeX
Gets the value of the relativeX property.- Returns:
- possible object is
BigDecimal
-
setRelativeX
Sets the value of the relativeX property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeY
Gets the value of the relativeY property.- Returns:
- possible object is
BigDecimal
-
setRelativeY
Sets the value of the relativeY property.- Parameters:
value- allowed object isBigDecimal
-
getHalign
Gets the value of the halign property.- Returns:
- possible object is
LeftCenterRight
-
setHalign
Sets the value of the halign property.- Parameters:
value- allowed object isLeftCenterRight
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-