Package org.loboevolution.html.renderer
Class RInlineBlock
- All Implemented Interfaces:
ImageObserver,UINode,BoundableRenderable,RCollection,RElement,Renderable,RenderableContainer
RInlineBlock class.
-
Field Summary
Fields inherited from class org.loboevolution.html.renderer.BaseElementRenderable
backgroundColor, backgroundImage, borderBottomColor, borderInfo, borderInsets, borderLeftColor, borderRightColor, borderTopColor, delayedPairs, INVALID_SIZE, lastBackgroundImageUri, layoutDeepCanBeInvalidated, marginInsets, overflowX, overflowY, paddingInsets, relativeOffsetX, relativeOffsetY, SCROLL_BAR_THICKNESS, userAgentContext, zIndexFields inherited from class org.loboevolution.html.renderer.BaseBoundableRenderable
container, layoutUpTreeCanBeInvalidated, modelNode, originalParent, parent, SELECTION_COLOR, SELECTION_XORFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface org.loboevolution.html.renderer.Renderable
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionRInlineBlock(RenderableContainer container, RBlockInfo info) Constructor for RInlineBlock. -
Method Summary
Modifier and TypeMethodDescriptionaddComponent(Component component) addComponent.voidassignDimension.protected voiddoLayout(int availWidth, int availHeight, boolean sizeOnly) doLayout.getLowestRenderableSpot(int x, int y) getLowestRenderableSpot.getPaintedBackgroundColor.getRenderables.voidlayout(int availWidth, int availHeight, boolean sizeOnly) Lays out the subtree below the RElement.booleanonDoubleClick(MouseEvent event, int x, int y) onDoubleClick.booleanonMouseClick(MouseEvent event, int x, int y) onMouseClick.booleanonMouseDisarmed(MouseEvent event) onMouseDisarmed.booleanonMousePressed(MouseEvent event, int x, int y) onMousePressed.booleanonMouseReleased(MouseEvent event, int x, int y) onMouseReleased.voidpaint.voidCalledMethods inherited from class org.loboevolution.html.renderer.BaseElementRenderable
addDelayedPair, applyStyle, clearDelayedPairs, clearGUIComponents, clearStyle, getBorderInsets, getClipBounds, getCollapsibleMarginBottom, getCollapsibleMarginTop, getDeclaredHeight, getDeclaredMaxHeight, getDeclaredMaxWidth, getDeclaredMinHeight, getDeclaredMinWidth, getDeclaredWidth, getDelayedPairs, getInnerHeight, getInnerWidth, getInsets, getInsetsMarginBorder, getInsetsPadding, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getParentContainer, getZIndex, hasDeclaredWidth, imageUpdate, invalidateLayoutDeep, invalidateLayoutLocal, isContainedByNode, isMarginBoundary, prePaint, sendDelayedPairsToParent, sendGUIComponentsToParent, setupRelativePosition, translateDescendentPoint, updateAllWidgetBounds, updateWidgetBoundsMethods inherited from class org.loboevolution.html.renderer.BaseRCollection
blur, extractSelectionText, focus, getClipBoundsWithoutInsets, getDeclaredHeightImpl, getDeclaredWidthImpl, getRenderable, onMouseMoved, onMouseOut, onRightClick, paintSelection, updateWidgetBoundsMethods inherited from class org.loboevolution.html.renderer.BaseBoundableRenderable
contains, getBlockBackgroundColor, getBounds, getGUIPoint, getModelNode, getOrigin, getOriginalOrCurrentParent, getOriginalParent, getOriginRelativeTo, getOriginRelativeToAbs, getOriginRelativeToNoScroll, getParent, getRectangle, getRenderablePoint, getSize, getVisualBounds, getVisualHeight, getVisualWidth, invalidateLayoutUpTree, isDelegated, isValid, markLayoutValid, onMouseScroll, paintTranslated, relayout, relayoutIfValid, repaint, repaint, setOriginalParent, setParentMethods inherited from class org.loboevolution.html.renderer.RRectangle
setBounds, setOriginMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.loboevolution.html.renderer.BoundableRenderable
contains, extractSelectionText, getBounds, getGUIPoint, getHeight, getModelNode, getOrdinal, getOrigin, getOriginalOrCurrentParent, getOriginalParent, getOriginRelativeTo, getOriginRelativeToAbs, getOriginRelativeToNoScroll, getParent, getRectangle, getRenderablePoint, getSize, getVisualBounds, getVisualHeight, getVisualWidth, getWidth, getX, getY, invalidateLayoutUpTree, isDelegated, onMouseMoved, onMouseOut, 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, getClipBoundsWithoutInsets, getRenderable, updateWidgetBoundsMethods inherited from interface org.loboevolution.html.renderer.Renderable
findHtmlRenderable, isFixedMethods inherited from interface org.loboevolution.html.renderer.RenderableContainer
focus, getGUIPoint, getOriginRelativeToAbs, getVisualBounds, getVisualHeight, getVisualWidth, getY, invalidateLayoutUpTree, relayout, repaint
-
Constructor Details
-
RInlineBlock
Constructor for RInlineBlock.
- Parameters:
container- aRenderableContainerobject.info- aRBlockInfoobject.
-
-
Method Details
-
assignDimension
public void assignDimension()assignDimension.
-
getRenderables
getRenderables.
- Returns:
- a
Listobject.
-
getLowestRenderableSpot
getLowestRenderableSpot.
- Parameters:
x- aIntegerobject.y- aIntegerobject.- Returns:
- a
RenderableSpotobject.
-
onDoubleClick
onDoubleClick.
- Specified by:
onDoubleClickin interfaceBoundableRenderable- Overrides:
onDoubleClickin classBaseBoundableRenderable- Parameters:
event- aMouseEventobject.x- aIntegerobject.y- aIntegerobject.- Returns:
- a boolean.
-
onMouseClick
onMouseClick.
- Specified by:
onMouseClickin interfaceBoundableRenderable- Overrides:
onMouseClickin classBaseBoundableRenderable- Parameters:
event- aMouseEventobject.x- aIntegerobject.y- aIntegerobject.- Returns:
- a boolean.
-
onMouseDisarmed
onMouseDisarmed.
- Specified by:
onMouseDisarmedin interfaceBoundableRenderable- Overrides:
onMouseDisarmedin classBaseBoundableRenderable- Parameters:
event- aMouseEventobject.- Returns:
- a boolean.
-
onMousePressed
onMousePressed.
- Specified by:
onMousePressedin interfaceBoundableRenderable- Overrides:
onMousePressedin classBaseBoundableRenderable- Parameters:
event- aMouseEventobject.x- aIntegerobject.y- aIntegerobject.- Returns:
- a boolean.
-
onMouseReleased
onMouseReleased.
- Specified by:
onMouseReleasedin interfaceBoundableRenderable- Overrides:
onMouseReleasedin classBaseBoundableRenderable- Parameters:
event- aMouseEventobject.x- aIntegerobject.y- aIntegerobject.- Returns:
- a boolean.
-
paint
paint.
- Specified by:
paintin interfaceRenderable- Overrides:
paintin classBaseElementRenderable- Parameters:
g- aGraphicsobject.
-
repaint
Called- Parameters:
modelNode- aModelNodeobject.
-
getPaintedBackgroundColor
getPaintedBackgroundColor.
- Returns:
- a
Colorobject.
-
doLayout
protected void doLayout(int availWidth, int availHeight, boolean sizeOnly) doLayout.
- Specified by:
doLayoutin classBaseElementRenderable- Parameters:
availWidth- aIntegerobject.availHeight- aIntegerobject.sizeOnly- a boolean.
-
layout
public 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. Lays out children, and deals with "valid" state. Override doLayout method instead of this one.- Specified by:
layoutin interfaceRElement- Overrides:
layoutin classBaseElementRenderable- 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.
-
addComponent
addComponent.
- Specified by:
addComponentin interfaceRenderableContainer- Overrides:
addComponentin classBaseElementRenderable- Parameters:
component- aComponentobject.- Returns:
- a
Componentobject.
-