org.lobobrowser.html.renderer

Class RRelative

Implemented Interfaces:
BoundableRenderable, RCollection, Renderable

public class RRelative
extends org.lobobrowser.html.renderer.BaseRCollection

Field Summary

Fields inherited from class org.lobobrowser.html.renderer.BaseBoundableRenderable

SELECTION_COLOR, SELECTION_XOR, container, height, layoutUpTreeCanBeInvalidated, logger, modelNode, originalParent, parent, width, x, y

Fields inherited from interface org.lobobrowser.html.renderer.Renderable

EMPTY_ARRAY

Constructor Summary

RRelative(RenderableContainer container, ModelNode modelNode, RElement child, int xoffset, int yoffset)

Method Summary

void
adjustSize()
RElement
getElement()
org.lobobrowser.html.renderer.FloatingBounds
getExportableFloatingBounds()
RenderableSpot
getLowestRenderableSpot(int x, int y)
Iterator
getRenderables()
int
getXOffset()
int
getYOffset()
protected void
invalidateLayoutLocal()
boolean
isContainedByNode()
boolean
onDoubleClick(MouseEvent event, int x, int y)
boolean
onMouseClick(MouseEvent event, int x, int y)
boolean
onMouseDisarmed(MouseEvent event)
boolean
onMousePressed(MouseEvent event, int x, int y)
boolean
onMouseReleased(MouseEvent event, int x, int y)
void
paint(Graphics g)

Methods inherited from class org.lobobrowser.html.renderer.BaseRCollection

blur, extractSelectionText, focus, getRenderable, invalidateLayoutDeep, onMouseMoved, onMouseOut, onRightClick, paintSelection, updateWidgetBounds

Methods inherited from class org.lobobrowser.html.renderer.BaseBoundableRenderable

contains, getBlockBackgroundColor, getBounds, getGUIPoint, getHeight, getModelNode, getOrigin, getOriginRelativeTo, getOriginalOrCurrentParent, getOriginalParent, getParent, getRenderablePoint, getSize, getWidth, getX, getY, invalidateLayoutLocal, invalidateLayoutUpTree, isValid, markLayoutValid, onMouseMoved, onMouseOut, paintTranslated, relayout, relayoutImpl, repaint, repaint, setBounds, setHeight, setOrigin, setOriginalParent, setParent, setWidth, setX, setY, translateDescendentPoint

Methods inherited from class org.lobobrowser.html.renderer.BaseRenderable

getOrdinal, getZIndex, setOrdinal

Constructor Details

RRelative

public RRelative(RenderableContainer container,
                 ModelNode modelNode,
                 RElement child,
                 int xoffset,
                 int yoffset)

Method Details

adjustSize

public void adjustSize()

getElement

public RElement getElement()

getExportableFloatingBounds

public org.lobobrowser.html.renderer.FloatingBounds getExportableFloatingBounds()

getLowestRenderableSpot

public RenderableSpot getLowestRenderableSpot(int x,
                                              int y)
Specified by:
getLowestRenderableSpot in interface BoundableRenderable

getRenderables

public Iterator getRenderables()
Specified by:
getRenderables in interface RCollection

getXOffset

public int getXOffset()

getYOffset

public int getYOffset()

invalidateLayoutLocal

protected void invalidateLayoutLocal()
Overrides:
invalidateLayoutLocal in interface org.lobobrowser.html.renderer.BaseBoundableRenderable

isContainedByNode

public boolean isContainedByNode()
Specified by:
isContainedByNode in interface BoundableRenderable

onDoubleClick

public boolean onDoubleClick(MouseEvent event,
                             int x,
                             int y)
Specified by:
onDoubleClick in interface BoundableRenderable

onMouseClick

public boolean onMouseClick(MouseEvent event,
                            int x,
                            int y)
Specified by:
onMouseClick in interface BoundableRenderable

onMouseDisarmed

public boolean onMouseDisarmed(MouseEvent event)
Specified by:
onMouseDisarmed in interface BoundableRenderable

onMousePressed

public boolean onMousePressed(MouseEvent event,
                              int x,
                              int y)
Specified by:
onMousePressed in interface BoundableRenderable

onMouseReleased

public boolean onMouseReleased(MouseEvent event,
                               int x,
                               int y)
Specified by:
onMouseReleased in interface BoundableRenderable

paint

public void paint(Graphics g)
Specified by:
paint in interface Renderable