Package com.levigo.jadice.document
Interface PageSegment
- All Superinterfaces:
org.jadice.util.base.Identifiable
,MetadataProvider
,PermissionsProvider<PageSegment>
,PropertiesProvider
,Serializable
public interface PageSegment
extends PropertiesProvider, MetadataProvider, PermissionsProvider<PageSegment>, org.jadice.util.base.Identifiable, Serializable
A
PageSegment
represents a single layer of a Page
, i.e. the Page consists of
a stack of PageSegments.-
Method Summary
Modifier and TypeMethodDescriptionReturns the raw size and position of thePageSegment
in base units.getSize()
Returns the raw size/dimensions of thePageSegment
in base units.Deprecated.boolean
Return whether this PageSegment is in some way "auxiliary".Methods inherited from interface org.jadice.util.base.Identifiable
getId
Methods inherited from interface com.levigo.jadice.document.metadata.MetadataProvider
getMetadata
Methods inherited from interface com.levigo.jadice.document.PermissionsProvider
getPermissions
Methods inherited from interface com.levigo.jadice.document.util.PropertiesProvider
getProperties
-
Method Details
-
getSource
Deprecated.Get thePageSegmentSource
describing the source of this page segment. Returnsnull
if the page segment is not derived from a source.- Returns:
- the page segment source
-
getSize
Dimension2D getSize()Returns the raw size/dimensions of thePageSegment
in base units.- Returns:
- the
PageSegment
's raw size
-
getBounds
Rectangle2D getBounds()Returns the raw size and position of thePageSegment
in base units. Position is measured in relation to thePage
's coordinate system's origin point (0,0).- Returns:
- the raw size and position
-
isAuxiliary
boolean isAuxiliary()Return whether this PageSegment is in some way "auxiliary". Auxiliary page segments contain additions to the main page segment, but rarely represent the main page content in their own right. Currently most page segments are non-auxiliary except for the AnnotationPageSegment.- Returns:
true
if this page segment is auxiliary,false
if it represents "main" page content.
-