|
Flying Saucer Project Release ${app.version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplacedElement
A replaced element is an XML element in the document being rendered whose visual output is delegated. For example,
an
element in HTML may be rendered using some form of Image
. The idea is that
there are some XML elements which Flying Saucer knows how to position and size (that's in the CSS) but has no
idea how to render on screen. Replaced elements serve that purpose.
Method Summary | |
---|---|
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. |
Method Detail |
---|
int getIntrinsicWidth()
int getIntrinsicHeight()
java.awt.Point getLocation()
void setLocation(int x, int y)
x
- new horizontal posy
- new vertical posvoid detach(LayoutContext c)
c
- boolean isRequiresInteractivePaint()
boolean hasBaseline()
int getBaseline()
|
Flying Saucer Project Release ${app.version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |