Class RTableCell
- All Implemented Interfaces:
ImageObserver,UINode,BoundableRenderable,RCollection,RElement,Renderable,RenderableContainer
RTableCell class.
-
Field Summary
Fields inherited from class org.loboevolution.html.renderer.RBlock
bodyLayout, defaultOverflowX, defaultOverflowY, endSelection, frameContext, hasHScrollBar, hasVScrollBar, listNesting, rendererContext, startSelectionFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCellLayout(int width, int height, boolean expandWidth, boolean expandHeight, boolean sizeOnly) doCellLayout.intGetter for the field colSpan.getHeightText.intGetter for the field rowSpan.intgetVirtualColumn.intgetVirtualRow.getWidthText.protected booleanisMarginBoundary.voidsetCellBounds(SizeInfo[] colSizes, SizeInfo[] rowSizes, int hasBorder, int cellSpacingX, int cellSpacingY) setCellBounds.Methods inherited from class org.loboevolution.html.renderer.RBlock
clearStyle, doLayout, doLayout, ensureVisible, extractSelectionText, getClipBoundsWithoutInsets, getExportableFloatingInfo, getFirstBaselineOffset, getFirstLineHeight, getLowestRenderableSpot, getPaintedBackgroundColor, getRBlockViewport, getRenderables, getViewportListNesting, getVisualHeight, getVisualWidth, getVScrollBarWidth, getX, getY, invalidateLayoutLocal, isOverflowVisibleX, isOverflowVisibleY, layout, onDoubleClick, onMouseClick, onMouseDisarmed, onMousePressed, onMouseReleased, onMouseScroll, paint, paintSelection, repaint, scrollByUnits, scrollTo, setSelectionEnd, setSelectionStart, toString, updateWidgetBoundsMethods inherited from class org.loboevolution.html.renderer.BaseElementRenderable
addComponent, addDelayedPair, applyStyle, clearDelayedPairs, clearGUIComponents, 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, isContainedByNode, layout, prePaint, sendDelayedPairsToParent, sendGUIComponentsToParent, setupRelativePosition, translateDescendentPoint, updateAllWidgetBounds, updateWidgetBoundsMethods inherited from class org.loboevolution.html.renderer.BaseRCollection
blur, focus, getDeclaredHeightImpl, getDeclaredWidthImpl, getRenderable, onMouseMoved, onMouseOut, onRightClickMethods inherited from class org.loboevolution.html.renderer.BaseBoundableRenderable
contains, getBlockBackgroundColor, getBounds, getGUIPoint, getModelNode, getOrigin, getOriginalOrCurrentParent, getOriginalParent, getOriginRelativeTo, getOriginRelativeToAbs, getOriginRelativeToNoScroll, getParent, getRectangle, getRenderablePoint, getSize, getVisualBounds, invalidateLayoutUpTree, isDelegated, isValid, markLayoutValid, 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, wait, wait, waitMethods 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, getWidth, invalidateLayoutUpTree, isDelegated, onMouseMoved, onMouseOut, onRightClick, paintTranslated, relayout, repaint, repaint, setBounds, setDelegator, setHeight, setOrdinal, setOrigin, setOriginalParent, setParent, setWidth, setX, setYMethods inherited from interface org.loboevolution.html.renderer.RCollection
blur, focus, getRenderableMethods inherited from interface org.loboevolution.html.renderer.Renderable
findHtmlRenderable, isFixedMethods inherited from interface org.loboevolution.html.renderer.RenderableContainer
focus, getGUIPoint, getOriginRelativeToAbs, getVisualBounds, invalidateLayoutUpTree, relayout, repaint
-
Constructor Details
-
RTableCell
Constructor for RTableCell.
- Parameters:
info- aRBlockInfoobject.
-
-
Method Details
-
doCellLayout
public Dimension doCellLayout(int width, int height, boolean expandWidth, boolean expandHeight, boolean sizeOnly) doCellLayout.
- Parameters:
width- The width available, including insets.height- The height available, including insets.expandWidth- a boolean.expandHeight- a boolean.sizeOnly- a boolean.- Returns:
- a
Dimensionobject.
-
getColSpan
public int getColSpan()Getter for the field colSpan.
- Returns:
- a
Integerobject.
-
getHeightText
getHeightText.
- Returns:
- a
Stringobject.
-
getRowSpan
public int getRowSpan()Getter for the field rowSpan.
- Returns:
- a
Integerobject.
-
getVirtualColumn
public int getVirtualColumn()getVirtualColumn.
- Returns:
- Returns the virtualColumn.
-
getVirtualRow
public int getVirtualRow()getVirtualRow.
- Returns:
- Returns the virtualRow.
-
getWidthText
getWidthText.
- Returns:
- a
Stringobject.
-
isMarginBoundary
protected boolean isMarginBoundary()isMarginBoundary.
- Overrides:
isMarginBoundaryin classBaseElementRenderable- Returns:
- a boolean.
-
setCellBounds
public void setCellBounds(SizeInfo[] colSizes, SizeInfo[] rowSizes, int hasBorder, int cellSpacingX, int cellSpacingY) setCellBounds.
-