public class PageLayout extends Object
Java class for page-layout complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="page-layout">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<sequence minOccurs="0">
<element name="page-height" type="{}tenths"/>
<element name="page-width" type="{}tenths"/>
</sequence>
<element name="page-margins" type="{}page-margins" maxOccurs="2" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
pageHeight |
protected List<PageMargins> |
pageMargins |
protected BigDecimal |
pageWidth |
| Constructor and Description |
|---|
PageLayout() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getPageHeight()
Gets the value of the pageHeight property.
|
List<PageMargins> |
getPageMargins()
Gets the value of the pageMargins property.
|
BigDecimal |
getPageWidth()
Gets the value of the pageWidth property.
|
void |
setPageHeight(BigDecimal value)
Sets the value of the pageHeight property.
|
void |
setPageWidth(BigDecimal value)
Sets the value of the pageWidth property.
|
protected BigDecimal pageHeight
protected BigDecimal pageWidth
protected List<PageMargins> pageMargins
public BigDecimal getPageHeight()
BigDecimalpublic void setPageHeight(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getPageWidth()
BigDecimalpublic void setPageWidth(BigDecimal value)
value - allowed object is
BigDecimalpublic List<PageMargins> getPageMargins()
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 set method for the pageMargins property.
For example, to add a new item, do as follows:
getPageMargins().add(newItem);
Objects of the following type(s) are allowed in the list
PageMargins
Copyright © 2016 Audiveris Ltd. All rights reserved.