Package org.audiveris.proxymusic
Class PageMargins
java.lang.Object
org.audiveris.proxymusic.PageMargins
Page margins are specified either for both even and odd pages, or via separate odd and even page number values. The type attribute is not needed when used as part of a print element. If omitted when the page-margins type is used in the defaults element, "both" is the default value.
Java class for page-margins complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="page-margins">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<group ref="{}all-margins"/>
<attribute name="type" type="{}margin-type" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected MarginType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the bottomMargin property.Gets the value of the leftMargin property.Gets the value of the rightMargin property.Gets the value of the topMargin property.getType()Gets the value of the type property.voidsetBottomMargin(BigDecimal value) Sets the value of the bottomMargin property.voidsetLeftMargin(BigDecimal value) Sets the value of the leftMargin property.voidsetRightMargin(BigDecimal value) Sets the value of the rightMargin property.voidsetTopMargin(BigDecimal value) Sets the value of the topMargin property.voidsetType(MarginType value) Sets the value of the type property.
-
Field Details
-
leftMargin
-
rightMargin
-
topMargin
-
bottomMargin
-
type
-
-
Constructor Details
-
PageMargins
public PageMargins()
-
-
Method Details
-
getLeftMargin
Gets the value of the leftMargin property.- Returns:
- possible object is
BigDecimal
-
setLeftMargin
Sets the value of the leftMargin property.- Parameters:
value- allowed object isBigDecimal
-
getRightMargin
Gets the value of the rightMargin property.- Returns:
- possible object is
BigDecimal
-
setRightMargin
Sets the value of the rightMargin property.- Parameters:
value- allowed object isBigDecimal
-
getTopMargin
Gets the value of the topMargin property.- Returns:
- possible object is
BigDecimal
-
setTopMargin
Sets the value of the topMargin property.- Parameters:
value- allowed object isBigDecimal
-
getBottomMargin
Gets the value of the bottomMargin property.- Returns:
- possible object is
BigDecimal
-
setBottomMargin
Sets the value of the bottomMargin property.- Parameters:
value- allowed object isBigDecimal
-
getType
Gets the value of the type property.- Returns:
- possible object is
MarginType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isMarginType
-