Class TableRowRenderBox

  • All Implemented Interfaces:
    Cloneable

    public class TableRowRenderBox
    extends RenderBox
    A table section box does not much rendering or layouting at all. It represents one of the three possible sections and behaves like any other block box. But (here it comes!) it refuses to be added to anything else than a TableRenderBox (a small check to save me a lot of insanity ..).

    For a valid layout, the major and minor axes need to be flipped.

    Author:
    Thomas Morgner
    • Method Detail

      • isAutoGenerated

        public boolean isAutoGenerated()
      • isIgnorableForRendering

        public boolean isIgnorableForRendering()
        If that method returns true, the element will not be used for rendering. For the purpose of computing sizes or performing the layouting (in the validate() step), this element will treated as if it is not there.

        If the element reports itself as non-empty, however, it will affect the margin computation.

        Overrides:
        isIgnorableForRendering in class RenderNode
        Returns:
      • isBodySection

        public boolean isBodySection()
      • setBodySection

        public void setBodySection​(boolean bodySection)
      • setRowIndex

        public void setRowIndex​(int rowIndex)
      • setCachedY

        public void setCachedY​(long cachedY)
        Description copied from class: RenderNode
        Defines the cached y position. This position is known after all layouting steps have been finished. In most cases the layouter tries to reuse the cached values instead of recomputing everything from scratch on each iteration.

        The cached positions always specify the border-box. If the user specified sizes as content-box sizes, the layouter converts them into border-box sizes before filling the cache.

        Overrides:
        setCachedY in class RenderNode
        Parameters:
        cachedY - the cached y position
      • extendHeight

        public long extendHeight​(RenderNode child,
                                 long heightOffset)
        Description copied from class: RenderBox
        Notifies a box that one of its childs has extended its height. The child's height property already contains the new height. The amount given is the offset from the old height to the new height, and is always a positive number.
        Overrides:
        extendHeight in class RenderBox