public class EmptyReplacedElement extends java.lang.Object implements ReplacedElement
Constructor and Description |
---|
EmptyReplacedElement(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
detach(LayoutContext c) |
int |
getBaseline() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
java.awt.Point |
getLocation()
Returns the current location where the element will be rendered on the canvas
|
boolean |
hasBaseline() |
boolean |
isRequiresInteractivePaint() |
void |
setLocation(int x,
int y)
Assigns the new locations where the element will be rendered.
|
public void detach(LayoutContext c)
detach
in interface ReplacedElement
public int getIntrinsicHeight()
getIntrinsicHeight
in interface ReplacedElement
public int getIntrinsicWidth()
getIntrinsicWidth
in interface ReplacedElement
public java.awt.Point getLocation()
ReplacedElement
getLocation
in interface ReplacedElement
public boolean isRequiresInteractivePaint()
isRequiresInteractivePaint
in interface ReplacedElement
public void setLocation(int x, int y)
ReplacedElement
setLocation
in interface ReplacedElement
x
- new horizontal posy
- new vertical pospublic int getBaseline()
getBaseline
in interface ReplacedElement
public boolean hasBaseline()
hasBaseline
in interface ReplacedElement