public class SwingReplacedElement extends java.lang.Object implements ReplacedElement
?????? |
---|
SwingReplacedElement(javax.swing.JComponent component) |
?????? | ????? |
---|---|
void |
detach(LayoutContext c) |
int |
getBaseline() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
javax.swing.JComponent |
getJComponent() |
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 javax.swing.JComponent getJComponent()
public int getIntrinsicHeight()
getIntrinsicHeight
???? ReplacedElement
public int getIntrinsicWidth()
getIntrinsicWidth
???? ReplacedElement
public void setLocation(int x, int y)
ReplacedElement
setLocation
???? ReplacedElement
x
- new horizontal posy
- new vertical pospublic java.awt.Point getLocation()
ReplacedElement
getLocation
???? ReplacedElement
public void detach(LayoutContext c)
detach
???? ReplacedElement
public boolean isRequiresInteractivePaint()
isRequiresInteractivePaint
???? ReplacedElement
public int getBaseline()
getBaseline
???? ReplacedElement
public boolean hasBaseline()
hasBaseline
???? ReplacedElement