|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.modca.AbstractStructuredObject
org.apache.fop.afp.modca.AbstractTripletStructuredObject
org.apache.fop.afp.modca.AbstractDescriptor
public abstract class AbstractDescriptor
Base class for AFP descriptor objects
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
AbstractAFPObject.Category, AbstractAFPObject.Type |
Field Summary | |
---|---|
protected int |
height
height of this descriptor |
protected int |
heightRes
height resolution of this descriptor |
protected int |
width
width of this descriptor |
protected int |
widthRes
width resolution of this descriptor |
Fields inherited from class org.apache.fop.afp.modca.AbstractTripletStructuredObject |
---|
triplets |
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
LOG, SF_CLASS, SF_HEADER_LENGTH |
Constructor Summary | |
---|---|
AbstractDescriptor()
Default constructor |
|
AbstractDescriptor(int width,
int height,
int widthRes,
int heightRes)
Constructor a PresentationTextDescriptor for the specified width and height. |
Method Summary | |
---|---|
int |
getHeight()
Returns the height |
int |
getWidth()
Returns the width |
java.lang.String |
toString()
|
Methods inherited from class org.apache.fop.afp.modca.AbstractTripletStructuredObject |
---|
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setObjectClassification, writeTriplets |
Methods inherited from class org.apache.fop.afp.modca.AbstractStructuredObject |
---|
writeContent, writeEnd, writeStart, writeToStream |
Methods inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
copySF, copySF, truncate, writeChunksToStream, writeObjects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int width
protected int height
protected int widthRes
protected int heightRes
Constructor Detail |
---|
public AbstractDescriptor()
public AbstractDescriptor(int width, int height, int widthRes, int heightRes)
width
- The width of the page.height
- The height of the page.widthRes
- The width resolution of the page.heightRes
- The height resolution of the page.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int getWidth()
public int getHeight()
|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |