Class RTableCell

All Implemented Interfaces:
ImageObserver, UINode, BoundableRenderable, RCollection, RElement, Renderable, RenderableContainer

public class RTableCell extends RBlock

RTableCell class.

  • Constructor Details

    • RTableCell

      public RTableCell(RBlockInfo info)

      Constructor for RTableCell.

      Parameters:
      info - a RBlockInfo object.
  • 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 Dimension object.
    • getColSpan

      public int getColSpan()

      Getter for the field colSpan.

      Returns:
      a Integer object.
    • getHeightText

      public String getHeightText()

      getHeightText.

      Returns:
      a String object.
    • getRowSpan

      public int getRowSpan()

      Getter for the field rowSpan.

      Returns:
      a Integer object.
    • getVirtualColumn

      public int getVirtualColumn()

      getVirtualColumn.

      Returns:
      Returns the virtualColumn.
    • getVirtualRow

      public int getVirtualRow()

      getVirtualRow.

      Returns:
      Returns the virtualRow.
    • getWidthText

      public String getWidthText()

      getWidthText.

      Returns:
      a String object.
    • isMarginBoundary

      protected boolean isMarginBoundary()

      isMarginBoundary.

      Overrides:
      isMarginBoundary in class BaseElementRenderable
      Returns:
      a boolean.
    • setCellBounds

      public void setCellBounds(SizeInfo[] colSizes, SizeInfo[] rowSizes, int hasBorder, int cellSpacingX, int cellSpacingY)

      setCellBounds.

      Parameters:
      colSizes - an array of SizeInfo objects.
      rowSizes - an array of SizeInfo objects.
      hasBorder - a Integer object.
      cellSpacingX - a Integer object.
      cellSpacingY - a Integer object.