Package org.loboevolution.html.control
Class RImgControl
- All Implemented Interfaces:
ImageObserver
,UINode
,BoundableRenderable
,RCollection
,RElement
,Renderable
,RenderableContainer
RImgControl class.
-
Field Summary
Fields inherited from class org.loboevolution.html.control.RUIControl
declaredHeight, declaredWidth, modelNode, widget
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, zIndex
Fields inherited from class org.loboevolution.html.renderer.BaseBoundableRenderable
container, layoutUpTreeCanBeInvalidated, originalParent, parent, SELECTION_COLOR, SELECTION_XOR
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Fields inherited from interface org.loboevolution.html.renderer.Renderable
EMPTY_ARRAY
-
Constructor Summary
ConstructorsConstructorDescriptionRImgControl
(ModelNode me, UIControl widget, RenderableContainer container, UserAgentContext ucontext) Constructor for RImgControl. -
Method Summary
Modifier and TypeMethodDescriptionvoid
doLayout
(int availWidth, int availHeight, boolean sizeOnly) doLayout.Getter for the field borderInsets.Methods inherited from class org.loboevolution.html.control.RUIControl
extractSelectionText, focus, getBlockBackgroundColor, getForegroundColor, getLowestRenderableSpot, getPaintedBackgroundColor, getRenderables, getVAlign, hasBackground, invalidateLayoutLocal, paint, paintSelection, repaint, updateWidgetBounds
Methods inherited from class org.loboevolution.html.renderer.BaseElementRenderable
addComponent, addDelayedPair, applyStyle, clearDelayedPairs, clearGUIComponents, clearStyle, getClipBounds, getCollapsibleMarginBottom, getCollapsibleMarginTop, getDeclaredHeight, getDeclaredMaxHeight, getDeclaredMaxWidth, getDeclaredMinHeight, getDeclaredMinWidth, getDeclaredWidth, getDelayedPairs, getInnerHeight, getInnerWidth, getInsets, getInsetsMarginBorder, getInsetsPadding, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getParentContainer, getZIndex, hasDeclaredWidth, imageUpdate, invalidateLayoutDeep, isContainedByNode, isMarginBoundary, layout, prePaint, sendDelayedPairsToParent, sendGUIComponentsToParent, setupRelativePosition, translateDescendentPoint, updateAllWidgetBounds, updateWidgetBounds
Methods inherited from class org.loboevolution.html.renderer.BaseRCollection
blur, getClipBoundsWithoutInsets, getDeclaredHeightImpl, getDeclaredWidthImpl, getRenderable, onMouseMoved, onMouseOut, onRightClick
Methods inherited from class org.loboevolution.html.renderer.BaseBoundableRenderable
contains, getBounds, getGUIPoint, getModelNode, getOrigin, getOriginalOrCurrentParent, getOriginalParent, getOriginRelativeTo, getOriginRelativeToAbs, getOriginRelativeToNoScroll, getParent, getRectangle, getRenderablePoint, getSize, getVisualBounds, getVisualHeight, getVisualWidth, invalidateLayoutUpTree, isDelegated, isValid, markLayoutValid, onDoubleClick, onMouseClick, onMouseDisarmed, onMousePressed, onMouseReleased, onMouseScroll, paintTranslated, relayout, relayoutIfValid, repaint, repaint, setOriginalParent, setParent
Methods inherited from class org.loboevolution.html.renderer.RRectangle
setBounds, setOrigin
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.loboevolution.html.renderer.BoundableRenderable
contains, getBounds, getGUIPoint, getHeight, getModelNode, getOrdinal, getOrigin, getOriginalOrCurrentParent, getOriginalParent, getOriginRelativeTo, getOriginRelativeToAbs, getOriginRelativeToNoScroll, getParent, getRectangle, getRenderablePoint, getSize, getVisualBounds, getVisualHeight, getVisualWidth, getWidth, getX, getY, invalidateLayoutUpTree, isDelegated, onDoubleClick, onMouseClick, onMouseDisarmed, onMouseMoved, onMouseOut, onMousePressed, onMouseReleased, onMouseScroll, onRightClick, paintTranslated, relayout, repaint, repaint, setBounds, setDelegator, setHeight, setOrdinal, setOrigin, setOriginalParent, setParent, setWidth, setX, setY
Methods inherited from interface org.loboevolution.html.renderer.RCollection
blur, getClipBoundsWithoutInsets, getRenderable
Methods inherited from interface org.loboevolution.html.renderer.Renderable
findHtmlRenderable, isFixed
Methods inherited from interface org.loboevolution.html.renderer.RenderableContainer
getGUIPoint, getOriginRelativeToAbs, getVisualBounds, getVisualHeight, getVisualWidth, getY, invalidateLayoutUpTree, relayout, repaint
-
Constructor Details
-
RImgControl
public RImgControl(ModelNode me, UIControl widget, RenderableContainer container, UserAgentContext ucontext) Constructor for RImgControl.
- Parameters:
me
- aModelNode
object.widget
- aUIControl
object.container
- aRenderableContainer
object.ucontext
- aUserAgentContext
object.
-
-
Method Details
-
getBorderInsets
Getter for the field borderInsets.
- Overrides:
getBorderInsets
in classBaseElementRenderable
- Returns:
- a
Insets
object.
-
doLayout
public void doLayout(int availWidth, int availHeight, boolean sizeOnly) doLayout.
- Overrides:
doLayout
in classRUIControl
- Parameters:
availWidth
- aInteger
object.availHeight
- aInteger
object.sizeOnly
- a boolean.
-