public class PageMargins extends Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
bottomMargin |
protected BigDecimal |
leftMargin |
protected BigDecimal |
rightMargin |
protected BigDecimal |
topMargin |
protected MarginType |
type |
| Constructor and Description |
|---|
PageMargins() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getBottomMargin()
Gets the value of the bottomMargin property.
|
BigDecimal |
getLeftMargin()
Gets the value of the leftMargin property.
|
BigDecimal |
getRightMargin()
Gets the value of the rightMargin property.
|
BigDecimal |
getTopMargin()
Gets the value of the topMargin property.
|
MarginType |
getType()
Gets the value of the type property.
|
void |
setBottomMargin(BigDecimal value)
Sets the value of the bottomMargin property.
|
void |
setLeftMargin(BigDecimal value)
Sets the value of the leftMargin property.
|
void |
setRightMargin(BigDecimal value)
Sets the value of the rightMargin property.
|
void |
setTopMargin(BigDecimal value)
Sets the value of the topMargin property.
|
void |
setType(MarginType value)
Sets the value of the type property.
|
protected BigDecimal leftMargin
protected BigDecimal rightMargin
protected BigDecimal topMargin
protected BigDecimal bottomMargin
protected MarginType type
public BigDecimal getLeftMargin()
BigDecimalpublic void setLeftMargin(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getRightMargin()
BigDecimalpublic void setRightMargin(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getTopMargin()
BigDecimalpublic void setTopMargin(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getBottomMargin()
BigDecimalpublic void setBottomMargin(BigDecimal value)
value - allowed object is
BigDecimalpublic MarginType getType()
MarginTypepublic void setType(MarginType value)
value - allowed object is
MarginTypeCopyright © 2016 Audiveris Ltd. All rights reserved.