|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.document.AbstractPageSegment com.levigo.jadice.document.creator.CompositePageSegment
public class CompositePageSegment
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.levigo.jadice.document.AbstractPageSegment |
---|
AbstractPageSegment.CacheableRendering |
Field Summary |
---|
Fields inherited from class com.levigo.jadice.document.AbstractPageSegment |
---|
CACHE_KEY_CONTENTS, format, id |
Constructor Summary | |
---|---|
CompositePageSegment(Rectangle2D bounds)
|
Method Summary | |
---|---|
void |
addPageSegment(PageSegment segment,
AffineTransform tx)
Place the given PageSegment into the composition using the given transform. |
void |
addPageSegment(PageSegment segment,
AffineTransform tx,
Shape clipPath)
Place the given PageSegment into the composition using the given transform. |
protected AbstractPageSegment.CacheableRendering |
doCreateCacheableRendering()
|
Rectangle2D |
getBounds()
Returns the raw size and position of the PageSegment in base units. |
Metadata |
getMetadata()
Return the exposed meta-data or null if no meta-data is available. |
Dimension2D |
getSize()
Returns the raw size/dimensions of the PageSegment in base units. |
boolean |
isAuxiliary()
Return whether this PageSegment is in some way "auxiliary". |
boolean |
isOpaqe()
Set whether this page segment is opaque (all white) regardless of whether the whole bounds are taken up by component segments or not. |
void |
setOpaqe(boolean clearBackground)
Set whether this page segment is opaque (all white) regardless of whether the whole bounds are taken up by component segments or not. |
void |
setSource(PageSegmentSource source)
|
Methods inherited from class com.levigo.jadice.document.AbstractPageSegment |
---|
createPageSegmentEvent, createRendering, fireModified, fireModified, fireModified, getCachedRendering, getId, getPage, getPermissions, getProperties, getResolution, getSource, isInitialized, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompositePageSegment(Rectangle2D bounds)
Method Detail |
---|
public Metadata getMetadata()
MetadataProvider
null
if no meta-data is available. An object being
a MetadataProvider is not required to provide a non-null
meta-data.
getMetadata
in interface MetadataProvider
getMetadata
in class AbstractPageSegment
null
public Rectangle2D getBounds()
PageSegment
PageSegment
in base units. Position is
measured in relation to the Page
's coordinate system's origin point (0,0).
getBounds
in interface com.levigo.jadice.document.internal.model.RenderRoot
getBounds
in interface PageSegment
getBounds
in class AbstractPageSegment
public Dimension2D getSize()
PageSegment
PageSegment
in base units.
getSize
in interface PageSegment
getSize
in class AbstractPageSegment
PageSegment
's raw sizepublic void setSource(PageSegmentSource source)
setSource
in class AbstractPageSegment
public boolean isAuxiliary()
PageSegment
isAuxiliary
in interface PageSegment
isAuxiliary
in class AbstractPageSegment
true
if this page segment is auxiliary, false
if it
represents "main" page content.public void addPageSegment(PageSegment segment, AffineTransform tx)
segment
- the page segment to be placedtx
- the affine transform to be usedpublic void addPageSegment(PageSegment segment, AffineTransform tx, Shape clipPath)
segment
- the page segment to be placedtx
- the affine transform to be usedclipPath
- the clip path to be applied or null
if no clipping shall be
applied.protected AbstractPageSegment.CacheableRendering doCreateCacheableRendering() throws JadiceException
doCreateCacheableRendering
in class AbstractPageSegment
JadiceException
public boolean isOpaqe()
public void setOpaqe(boolean clearBackground)
clearBackground
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2017 levigo holding gmbh. All rights reserved. |