Top Fields Constructors Methods
com.openhtmltopdf.swing

public Class EmptyReplacedElement

extends Object
implements ReplacedElement
Class Inheritance
All Implemented Interfaces
com.openhtmltopdf.extend.ReplacedElement
Imports
java.awt.Point, com.openhtmltopdf.extend.ReplacedElement, com.openhtmltopdf.layout.LayoutContext

Field Summary

Modifier and TypeField and Description
private int
private Point
private int

Constructor Summary

AccessConstructor and Description
public
EmptyReplacedElement(int width, int height)

Method Summary

Modifier and TypeMethod and Description
public void
public int
public int
public int
public Point
getLocation()

Implements com.openhtmltopdf.extend.ReplacedElement.getLocation.

Returns the current location where the element will be rendered on the canvas

public boolean
public boolean
public void
setLocation(int
new horizontal pos
x
,
int
new vertical pos
y
)

Implements com.openhtmltopdf.extend.ReplacedElement.setLocation.

Assigns the new locations where the element will be rendered.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_heightback to summary
private int _height
_locationback to summary
private Point _location
_widthback to summary
private int _width

Constructor Detail

EmptyReplacedElementback to summary
public EmptyReplacedElement(int width, int height)

Method Detail

detachback to summary
public void detach(LayoutContext c)

Implements com.openhtmltopdf.extend.ReplacedElement.detach.

getBaselineback to summary
public int getBaseline()

Implements com.openhtmltopdf.extend.ReplacedElement.getBaseline.

getIntrinsicHeightback to summary
public int getIntrinsicHeight()

Implements com.openhtmltopdf.extend.ReplacedElement.getIntrinsicHeight.

getIntrinsicWidthback to summary
public int getIntrinsicWidth()

Implements com.openhtmltopdf.extend.ReplacedElement.getIntrinsicWidth.

getLocationback to summary
public Point getLocation()

Implements com.openhtmltopdf.extend.ReplacedElement.getLocation.

Doc from com.openhtmltopdf.extend.ReplacedElement.getLocation.

Returns the current location where the element will be rendered on the canvas

Returns:Point

see desc

hasBaselineback to summary
public boolean hasBaseline()

Implements com.openhtmltopdf.extend.ReplacedElement.hasBaseline.

isRequiresInteractivePaintback to summary
public boolean isRequiresInteractivePaint()

Implements com.openhtmltopdf.extend.ReplacedElement.isRequiresInteractivePaint.

setLocationback to summary
public void setLocation(int x, int y)

Implements com.openhtmltopdf.extend.ReplacedElement.setLocation.

Doc from com.openhtmltopdf.extend.ReplacedElement.setLocation.

Assigns the new locations where the element will be rendered.

Parameters
x:int

new horizontal pos

y:int

new vertical pos