|
fop 0.92beta | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.area.Area
org.apache.fop.area.inline.InlineArea
org.apache.fop.area.inline.Viewport
Inline viewport area. This is an inline-level viewport area for inline container, external graphic and instream foreign object. This viewport holds the area and positions it.
Nested Class Summary |
Nested classes inherited from class org.apache.fop.area.inline.InlineArea |
InlineArea.InlineAdjustingInfo |
Field Summary |
Fields inherited from class org.apache.fop.area.inline.InlineArea |
offset |
Fields inherited from class org.apache.fop.area.Area |
bpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TB |
Constructor Summary | |
Viewport(Area child)
Create a new viewport area with the content area. |
Method Summary | |
boolean |
getClip()
Get the clip of this viewport. |
Area |
getContent()
Get the content area for this viewport. |
java.awt.geom.Rectangle2D |
getContentPosition()
Get the position and size of the content of this viewport. |
void |
setClip(boolean c)
Set the clip of this viewport. |
void |
setContent(Area content)
Sets the content area. |
void |
setContentPosition(java.awt.geom.Rectangle2D cp)
Set the position and size of the content of this viewport. |
Methods inherited from class org.apache.fop.area.inline.InlineArea |
addChildArea, applyVariationFactor, getOffset, getParentArea, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isBlinking, notifyIPDVariation, setOffset, setParentArea, updateIPD |
Methods inherited from class org.apache.fop.area.Area |
addTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Viewport(Area child)
child
- the child content area of this viewportMethod Detail |
public void setClip(boolean c)
c
- true if this viewport should clippublic boolean getClip()
public void setContentPosition(java.awt.geom.Rectangle2D cp)
cp
- the position and size to place the contentpublic java.awt.geom.Rectangle2D getContentPosition()
public void setContent(Area content)
content
- the content areapublic Area getContent()
|
fop 0.92beta | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |