Uses of Interface
org.xhtmlrenderer.extend.ReplacedElement
Packages that use ReplacedElement
-
Uses of ReplacedElement in org.xhtmlrenderer.extend
Methods in org.xhtmlrenderer.extend that return ReplacedElementModifier and TypeMethodDescription@Nullable ReplacedElementReplacedElementFactory.createReplacedElement(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) NOTE: Only block equivalent elements can be replaced. -
Uses of ReplacedElement in org.xhtmlrenderer.render
Methods in org.xhtmlrenderer.render that return ReplacedElementMethods in org.xhtmlrenderer.render with parameters of type ReplacedElementModifier and TypeMethodDescriptionvoidBlockBox.setReplacedElement(@Nullable ReplacedElement replacedElement) -
Uses of ReplacedElement in org.xhtmlrenderer.swing
Classes in org.xhtmlrenderer.swing that implement ReplacedElementModifier and TypeClassDescriptionclassAn DeferredImageReplacedElement is aReplacedElementthat contains aImagewhich by default is simply a transparent image scaled to the size provided to the constructor.classclassAn ImageReplacedElement is aReplacedElementthat contains aImage.classMethods in org.xhtmlrenderer.swing that return ReplacedElementModifier and TypeMethodDescription@Nullable ReplacedElementSwingReplacedElementFactory.createReplacedElement(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) protected @Nullable ReplacedElementSwingReplacedElementFactory.lookupImageReplacedElement(Element e) Retrieves a ReplacedElement for an image from cache, or null if not found.protected ReplacedElementSwingReplacedElementFactory.newIrreplaceableImageElement(int cssWidth, int cssHeight) Returns a ReplacedElement for some element in the stream which should be replaceable, but is not.protected @Nullable ReplacedElementSwingReplacedElementFactory.replaceImage(UserAgentCallback uac, LayoutContext context, Element elem, int cssWidth, int cssHeight) Handles replacement of image elements in the document.Methods in org.xhtmlrenderer.swing with parameters of type ReplacedElementModifier and TypeMethodDescriptionprotected voidSwingReplacedElementFactory.storeImageReplacedElement(Element e, ReplacedElement cc, String uri, int cssWidth, int cssHeight) Adds a ReplacedElement containing an image to a cache of images for quick lookup.