java.lang.Object
org.xhtmlrenderer.swt.ImageReplacedElement
- All Implemented Interfaces:
org.xhtmlrenderer.extend.ReplacedElement
public class ImageReplacedElement
extends Object
implements org.xhtmlrenderer.extend.ReplacedElement
ReplacedElement for
<img> tags.- Author:
- Vianney le Clément
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddetach(org.xhtmlrenderer.layout.LayoutContext c) intgetImage()intintbooleanbooleanvoidsetLocation(int x, int y)
-
Constructor Details
-
ImageReplacedElement
-
-
Method Details
-
getImage
-
detach
public void detach(org.xhtmlrenderer.layout.LayoutContext c) - Specified by:
detachin interfaceorg.xhtmlrenderer.extend.ReplacedElement
-
getIntrinsicHeight
public int getIntrinsicHeight()- Specified by:
getIntrinsicHeightin interfaceorg.xhtmlrenderer.extend.ReplacedElement
-
getIntrinsicWidth
public int getIntrinsicWidth()- Specified by:
getIntrinsicWidthin interfaceorg.xhtmlrenderer.extend.ReplacedElement
-
getLocation
- Specified by:
getLocationin interfaceorg.xhtmlrenderer.extend.ReplacedElement
-
setLocation
public void setLocation(int x, int y) - Specified by:
setLocationin interfaceorg.xhtmlrenderer.extend.ReplacedElement
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()- Specified by:
isRequiresInteractivePaintin interfaceorg.xhtmlrenderer.extend.ReplacedElement
-
getBaseline
public int getBaseline()- Specified by:
getBaselinein interfaceorg.xhtmlrenderer.extend.ReplacedElement
-
hasBaseline
public boolean hasBaseline()- Specified by:
hasBaselinein interfaceorg.xhtmlrenderer.extend.ReplacedElement
-