java.lang.Object
org.xhtmlrenderer.swing.SwingReplacedElement
- All Implemented Interfaces:
ReplacedElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintintintReturns the current location where the element will be rendered on the canvasbooleanbooleanvoidsetLocation(int x, int y) Assigns the new locations where the element will be rendered.
-
Constructor Details
-
SwingReplacedElement
-
-
Method Details
-
getJComponent
-
getIntrinsicHeight
public int getIntrinsicHeight()- Specified by:
getIntrinsicHeightin interfaceReplacedElement
-
getIntrinsicWidth
public int getIntrinsicWidth()- Specified by:
getIntrinsicWidthin interfaceReplacedElement
-
setLocation
public void setLocation(int x, int y) Description copied from interface:ReplacedElementAssigns the new locations where the element will be rendered.- Specified by:
setLocationin interfaceReplacedElement- Parameters:
x- new horizontal positiony- new vertical position
-
getLocation
Description copied from interface:ReplacedElementReturns the current location where the element will be rendered on the canvas- Specified by:
getLocationin interfaceReplacedElement
-
detach
- Specified by:
detachin interfaceReplacedElement
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()- Specified by:
isRequiresInteractivePaintin interfaceReplacedElement
-
getBaseline
public int getBaseline()- Specified by:
getBaselinein interfaceReplacedElement
-
hasBaseline
public boolean hasBaseline()- Specified by:
hasBaselinein interfaceReplacedElement
-