Package org.loboevolution.html.renderer
Interface RElement
- All Superinterfaces:
BoundableRenderable
,RCollection
,Renderable
,UINode
- All Known Implementing Classes:
BaseElementRenderable
,RBlock
,RImgControl
,RInlineBlock
,RTable
,RTableCell
,RUIControl
A renderer node for elements such as blocks, lists, tables, inputs, images,
etc.
-
Field Summary
Fields inherited from interface org.loboevolution.html.renderer.Renderable
EMPTY_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionint
getCollapsibleMarginBottom.int
getCollapsibleMarginTop.int
getMarginBottom.int
getMarginLeft.int
getMarginRight.int
getMarginTop.default int
Vertical alignment for elements rendered in a line.void
layout
(int availWidth, int availHeight, boolean sizeOnly) Lays out the subtree below the RElement.void
setupRelativePosition
(RenderableContainer container) setupRelativePosition.Methods inherited from interface org.loboevolution.html.renderer.BoundableRenderable
contains, extractSelectionText, getBounds, getGUIPoint, getHeight, getLowestRenderableSpot, getModelNode, getOrdinal, getOrigin, getOriginalOrCurrentParent, getOriginalParent, getOriginRelativeTo, getOriginRelativeToAbs, getOriginRelativeToNoScroll, getParent, getRectangle, getRenderablePoint, getSize, getVisualBounds, getVisualHeight, getVisualWidth, getWidth, getX, getY, getZIndex, invalidateLayoutUpTree, isContainedByNode, isDelegated, onDoubleClick, onMouseClick, onMouseDisarmed, onMouseMoved, onMouseOut, onMousePressed, onMouseReleased, onMouseScroll, onRightClick, paintSelection, paintTranslated, relayout, repaint, repaint, setBounds, setDelegator, setHeight, setOrdinal, setOrigin, setOriginalParent, setParent, setWidth, setX, setY
Methods inherited from interface org.loboevolution.html.renderer.RCollection
blur, focus, getClipBounds, getClipBoundsWithoutInsets, getRenderable, getRenderables, invalidateLayoutDeep, updateWidgetBounds
Methods inherited from interface org.loboevolution.html.renderer.Renderable
findHtmlRenderable, isFixed, paint
-
Method Details
-
getCollapsibleMarginBottom
int getCollapsibleMarginBottom()getCollapsibleMarginBottom.
- Returns:
- a
Integer
object.
-
getCollapsibleMarginTop
int getCollapsibleMarginTop()getCollapsibleMarginTop.
- Returns:
- a
Integer
object.
-
getMarginBottom
int getMarginBottom()getMarginBottom.
- Returns:
- a
Integer
object.
-
getMarginLeft
int getMarginLeft()getMarginLeft.
- Returns:
- a
Integer
object.
-
getMarginRight
int getMarginRight()getMarginRight.
- Returns:
- a
Integer
object.
-
getMarginTop
int getMarginTop()getMarginTop.
- Returns:
- a
Integer
object.
-
getVAlign
default int getVAlign()Vertical alignment for elements rendered in a line. Returns one of the constants defined in this class.- Returns:
- a
Integer
object.
-
layout
void layout(int availWidth, int availHeight, boolean sizeOnly) Lays out the subtree below the RElement. The RElement is expected to set its own dimensions, but not its origin.- Parameters:
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.
-
setupRelativePosition
setupRelativePosition.
- Parameters:
container
- aRenderableContainer
object.
-