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, referenceResolution
Fields inherited from class com.levigo.jadice.document.internal.presentation.group.Container
ALPHA_MAX
Fields 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.VisualElement
createImage
(JWTImageAnnotation jwtImageAnnotation) Constructs aVisualElement
out of the given JWTImageAnnotation.protected com.levigo.jadice.document.internal.presentation.group.Container
protected void
Methods inherited from class com.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer
applyCompositeMode, applyCompositeModeToFillColor, applyCompositeModeToStrokeColor, getBoundingBox, getCompositeMode, getIconifiedRenderStructure, getReferenceResolution, getTextContent, setCompositeMode, setReferenceResolution
Methods inherited from class com.levigo.jadice.annotation.internal.renderer.AnnotationRenderer
getAnnotation, getAnnotationToRender, getLogicalBoundingBox, getType, iterator, setAnnotation
Methods inherited from class com.levigo.jadice.document.internal.presentation.group.TransparencyGroupContainer
createCopy, getID, hasNativeSignificance, hasSignificantChildren, isIsolated, isKnockout, isPerceptible, isSignificantChild, setHasSignificantChildren, toString
Methods 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, size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.levigo.jadice.document.internal.presentation.VisualElement
getBoundingBox
-
Constructor Details
-
JWTImageAnnotationRenderer
public JWTImageAnnotationRenderer()
-
-
Method Details
-
updateRendering
protected void updateRendering()- Overrides:
updateRendering
in classcom.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer<JWTImageAnnotation>
-
getShapeRenderStructure
protected com.levigo.jadice.document.internal.presentation.group.Container getShapeRenderStructure()- Overrides:
getShapeRenderStructure
in classcom.levigo.jadice.annotation.internal.renderer.ShapeBasedAnnotationRenderer<JWTImageAnnotation>
-
createImage
protected com.levigo.jadice.document.internal.presentation.VisualElement createImage(JWTImageAnnotation jwtImageAnnotation) Constructs aVisualElement
out 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
-