public static class XslfoDocumentBuilder.Region
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
XslfoDocumentBuilder.Region()
Creates a new region with default values.
|
XslfoDocumentBuilder.Region(java.lang.String name,
float extent,
boolean precedence) |
XslfoDocumentBuilder.Region(java.lang.String location,
java.lang.String name,
float extent,
boolean precedence) |
Modifier and Type | Method and Description |
---|---|
float |
getExtent()
Return the region extent in cm.
|
java.lang.String |
getName()
Returns the name of the region.
|
boolean |
isPrecedence()
Returns whether or not the region has precedence.
|
void |
setExtent(float extent)
Sets the extent of the region in cm.
|
void |
setName(java.lang.String name)
Assigns a name to the region.
|
void |
setPrecedence(boolean precedence)
Sets the precedence of the region.
|
public XslfoDocumentBuilder.Region()
public XslfoDocumentBuilder.Region(java.lang.String name, float extent, boolean precedence)
public XslfoDocumentBuilder.Region(java.lang.String location, java.lang.String name, float extent, boolean precedence)
public void setExtent(float extent)
extent
- the region extent in cmpublic float getExtent()
public void setPrecedence(boolean precedence)
false
precedence
- the new precedence valuepublic boolean isPrecedence()
false
.public void setName(java.lang.String name)
name
- the region namepublic java.lang.String getName()
Copyright © 2007, 2013 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html