| Package | Description |
|---|---|
| org.xhtmlrenderer.extend | |
| org.xhtmlrenderer.render | |
| org.xhtmlrenderer.simple.extend | |
| org.xhtmlrenderer.swing | |
| org.xhtmlrenderer.test |
| Modifier and Type | Method and Description |
|---|---|
ReplacedElement |
ReplacedElementFactory.createReplacedElement(LayoutContext c,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight)
NOTE: Only block equivalent elements can be replaced.
|
| Modifier and Type | Method and Description |
|---|---|
ReplacedElement |
BlockBox.getReplacedElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
BlockBox.setReplacedElement(ReplacedElement replacedElement) |
| Modifier and Type | Method and Description |
|---|---|
ReplacedElement |
NoReplacedElementFactory.createReplacedElement(LayoutContext c,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight) |
| Modifier and Type | Class and Description |
|---|---|
class |
DeferredImageReplacedElement
An DeferredImageReplacedElement is a
ReplacedElement that contains a Image
which by default is simply a transparent image scaled to the size provided to the constructor. |
class |
EmptyReplacedElement |
class |
ImageReplacedElement
An ImageReplacedElement is a
ReplacedElement that contains a Image. |
class |
SwingReplacedElement |
| Modifier and Type | Method and Description |
|---|---|
ReplacedElement |
SwingReplacedElementFactory.createReplacedElement(LayoutContext context,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight)
NOTE: Only block equivalent elements can be replaced.
|
protected ReplacedElement |
SwingReplacedElementFactory.lookupImageReplacedElement(Element e,
String uri)
Retrieves a ReplacedElement for an image from cache, or null if not found.
|
protected ReplacedElement |
SwingReplacedElementFactory.newIrreplaceableImageElement(int cssWidth,
int cssHeight)
Returns a ReplacedElement for some element in the stream which should be replaceable, but is not.
|
protected ReplacedElement |
SwingReplacedElementFactory.replaceImage(UserAgentCallback uac,
LayoutContext context,
Element elem,
int cssWidth,
int cssHeight)
Handles replacement of image elements in the document.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SwingReplacedElementFactory.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.
|
| Modifier and Type | Method and Description |
|---|---|
ReplacedElement |
DelegatingReplacedElementFactory.createReplacedElement(LayoutContext context,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight) |
protected ReplacedElement |
SwingImageReplacer.lookupImageReplacedElement(Element e)
Retrieves a ReplacedElement for an image from cache, or null if not found.
|
protected ReplacedElement |
SwingImageReplacer.newIrreplaceableImageElement(int cssWidth,
int cssHeight)
Returns a ReplacedElement for some element in the stream which should be replaceable, but is not.
|
abstract ReplacedElement |
ElementReplacer.replace(LayoutContext context,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight) |
ReplacedElement |
SwingImageReplacer.replace(LayoutContext context,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight) |
protected ReplacedElement |
SwingImageReplacer.replaceImage(UserAgentCallback uac,
LayoutContext context,
Element elem,
int cssWidth,
int cssHeight)
Handles replacement of image elements in the document.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SwingImageReplacer.storeImageReplacedElement(Element e,
ReplacedElement cc)
Adds a ReplacedElement containing an image to a cache of images for quick lookup.
|
Copyright © 2018. All rights reserved.