org.lobobrowser.html.renderer
public interface RElement extends RCollection, UINode, BoundableRenderable
Modifier and Type | Field and Description |
---|---|
static int |
VALIGN_ABSBOTTOM |
static int |
VALIGN_ABSMIDDLE |
static int |
VALIGN_BASELINE |
static int |
VALIGN_BOTTOM |
static int |
VALIGN_MIDDLE |
static int |
VALIGN_TOP |
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
int |
getCollapsibleMarginBottom() |
int |
getCollapsibleMarginTop() |
int |
getMarginBottom() |
int |
getMarginLeft() |
int |
getMarginRight() |
int |
getMarginTop() |
int |
getVAlign()
Vertical alignment for elements rendered in a line.
|
void |
layout(int availWidth,
int availHeight,
boolean sizeOnly)
Lays out the subtree below the RElement.
|
blur, focus, getRenderables, invalidateLayoutDeep, updateWidgetBounds
extractSelectionText, getBounds, getGUIPoint, getHeight, getLowestRenderableSpot, getModelNode, getOrdinal, getOrigin, getOriginalOrCurrentParent, getOriginalParent, getOriginRelativeTo, getParent, getRenderablePoint, getSize, getWidth, getX, getY, getZIndex, invalidateLayoutUpTree, isContainedByNode, onDoubleClick, onMouseClick, onMouseDisarmed, onMouseMoved, onMouseOut, onMousePressed, onMouseReleased, onRightClick, paintSelection, paintTranslated, relayout, repaint, repaint, setBounds, setHeight, setOrdinal, setOrigin, setOriginalParent, setParent, setWidth, setX, setY
paint
static final int VALIGN_TOP
static final int VALIGN_MIDDLE
static final int VALIGN_BOTTOM
static final int VALIGN_ABSMIDDLE
static final int VALIGN_ABSBOTTOM
static final int VALIGN_BASELINE
void layout(int availWidth, int availHeight, boolean sizeOnly)
availWidth
- The available width from the parent's canvas.availHeight
- The available height from the parent's canvas.sizeOnly
- Whether the layout is for sizing determination only.int getVAlign()
int getMarginTop()
int getMarginLeft()
int getMarginBottom()
int getMarginRight()
int getCollapsibleMarginTop()
int getCollapsibleMarginBottom()