public class FormControlReplacementElement extends Object implements ReplacedElement
| Constructor and Description |
|---|
FormControlReplacementElement(SWTFormControl swtControl) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateSize(LayoutContext c,
CalculatedStyle style,
int cssWidth,
int cssHeight)
Recalculate the size of the control based on the css lenghts.
|
void |
detach(LayoutContext c) |
int |
getBaseline() |
SWTFormControl |
getControl() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
Point |
getLocation() |
boolean |
hasBaseline() |
boolean |
isRequiresInteractivePaint() |
void |
setLocation(int x,
int y) |
public FormControlReplacementElement(SWTFormControl swtControl)
public SWTFormControl getControl()
public void detach(LayoutContext c)
detach in interface ReplacedElementpublic int getIntrinsicHeight()
getIntrinsicHeight in interface ReplacedElementpublic int getIntrinsicWidth()
getIntrinsicWidth in interface ReplacedElementpublic void calculateSize(LayoutContext c, CalculatedStyle style, int cssWidth, int cssHeight)
c - style - cssWidth - cssHeight - public Point getLocation()
getLocation in interface ReplacedElementpublic void setLocation(int x,
int y)
setLocation in interface ReplacedElementpublic boolean isRequiresInteractivePaint()
isRequiresInteractivePaint in interface ReplacedElementpublic int getBaseline()
getBaseline in interface ReplacedElementpublic boolean hasBaseline()
hasBaseline in interface ReplacedElementCopyright © 2019. All rights reserved.