Class JWTImageAnnotationRenderer
java.lang.Object
com.levigo.jadice.document.internal.presentation.group.Container
com.levigo.jadice.document.internal.presentation.group.TransparencyGroupContainer
com.levigo.jadice.annotation.internal.renderer.AnnotationRenderer<JWTImageAnnotation>
com.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer<JWTImageAnnotation>
com.levigo.jadice.web.server.annotation.JWTImageAnnotationRenderer
- All Implemented Interfaces:
com.levigo.jadice.annotation.internal.AnnotationTypeProvider,com.levigo.jadice.document.internal.presentation.PresentationElement,com.levigo.jadice.document.internal.presentation.VisualElement,com.levigo.jadice.document.internal.ref.BadgeProvider,Iterable<com.levigo.jadice.document.internal.presentation.PresentationElement>
public class JWTImageAnnotationRenderer
extends com.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer<JWTImageAnnotation>
Renders JWTImageAnnotations depending on their profile name and image identifier.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer
com.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer.CompositeMode -
Field Summary
Fields inherited from class com.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer
compositeMode, referenceResolutionFields inherited from class com.levigo.jadice.document.internal.presentation.group.Container
ALPHA_MAXFields inherited from interface com.levigo.jadice.document.internal.presentation.VisualElement
IDENTITY_TRANSFORM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.levigo.jadice.document.internal.presentation.VisualElementcreateImage(JWTImageAnnotation jwtImageAnnotation) Constructs aVisualElementout of the given JWTImageAnnotation.protected com.levigo.jadice.document.internal.presentation.group.Containerprotected voidMethods inherited from class com.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer
applyCompositeMode, applyCompositeModeToFillColor, applyCompositeModeToStrokeColor, getBoundingBox, getCompositeMode, getIconifiedRenderStructure, getReferenceResolution, getTextContent, setCompositeMode, setReferenceResolutionMethods inherited from class com.levigo.jadice.annotation.internal.renderer.AnnotationRenderer
getAnnotation, getAnnotationToRender, getLogicalBoundingBox, getType, iterator, setAnnotationMethods inherited from class com.levigo.jadice.document.internal.presentation.group.TransparencyGroupContainer
createCopy, getID, hasNativeSignificance, hasSignificantChildren, isIsolated, isKnockout, isPerceptible, isSignificantChild, setHasSignificantChildren, toStringMethods inherited from class com.levigo.jadice.document.internal.presentation.group.Container
add, addAll, getBadge, getBlendMode, getClipBoundingBox, getClipPath, getDefaultTransformation, getDescription, getNonStrokingAlpha, getNonStrokingPaint, getSoftMask, getStroke, getStrokingAlpha, getStrokingPaint, getTransferFunction, getTransformation, getTransparencyMode, indexOf, insertAt, isEmpty, isMutable, iteratorReversed, remove, removeAll, setBlendMode, setClipPath, setDefaultTransformation, setNonStrokingAlpha, setNonStrokingPaint, setPaints, setSoftMask, setStroke, setStrokingAlpha, setStrokingPaint, setTransferFunction, setTransformation, setTransparencyMode, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.levigo.jadice.document.internal.presentation.VisualElement
getBoundingBox
-
Constructor Details
-
JWTImageAnnotationRenderer
public JWTImageAnnotationRenderer()
-
-
Method Details
-
updateRendering
protected void updateRendering()- Overrides:
updateRenderingin classcom.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer<JWTImageAnnotation>
-
getShapeRenderStructure
protected com.levigo.jadice.document.internal.presentation.group.Container getShapeRenderStructure()- Overrides:
getShapeRenderStructurein classcom.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer<JWTImageAnnotation>
-
createImage
protected com.levigo.jadice.document.internal.presentation.VisualElement createImage(JWTImageAnnotation jwtImageAnnotation) Constructs aVisualElementout of the given JWTImageAnnotation. The render element contains the image referenced by the JWTImageAnnoation, needed later on for the rendering process- Parameters:
jwtImageAnnotation- the annotation to render- Returns:
- the VisualElement containing the image in order to render it
-