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 TypeMethodDescriptionintgetCollapsibleMarginBottom.intgetCollapsibleMarginTop.intgetMarginBottom.intgetMarginLeft.intgetMarginRight.intgetMarginTop.default intVertical alignment for elements rendered in a line.voidlayout(int availWidth, int availHeight, boolean sizeOnly) Lays out the subtree below the RElement.voidsetupRelativePosition(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, setYMethods inherited from interface org.loboevolution.html.renderer.RCollection
blur, focus, getClipBounds, getClipBoundsWithoutInsets, getRenderable, getRenderables, invalidateLayoutDeep, updateWidgetBoundsMethods inherited from interface org.loboevolution.html.renderer.Renderable
findHtmlRenderable, isFixed, paint
-
Method Details
-
getCollapsibleMarginBottom
int getCollapsibleMarginBottom()getCollapsibleMarginBottom.
- Returns:
- a
Integerobject.
-
getCollapsibleMarginTop
int getCollapsibleMarginTop()getCollapsibleMarginTop.
- Returns:
- a
Integerobject.
-
getMarginBottom
int getMarginBottom()getMarginBottom.
- Returns:
- a
Integerobject.
-
getMarginLeft
int getMarginLeft()getMarginLeft.
- Returns:
- a
Integerobject.
-
getMarginRight
int getMarginRight()getMarginRight.
- Returns:
- a
Integerobject.
-
getMarginTop
int getMarginTop()getMarginTop.
- Returns:
- a
Integerobject.
-
getVAlign
default int getVAlign()Vertical alignment for elements rendered in a line. Returns one of the constants defined in this class.- Returns:
- a
Integerobject.
-
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- aRenderableContainerobject.
-