Class TableRowRenderBox

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class TableRowRenderBox
    extends BlockRenderBox
    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
    • Constructor Detail

      • TableRowRenderBox

        public TableRowRenderBox​(BoxDefinition boxDefinition,
                                 boolean autoGenerated)
    • Method Detail

      • 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:
      • clone

        public java.lang.Object clone()
        Description copied from class: RenderBox
        Clones this node. Be aware that cloning can get you into deep trouble, as the relations this node has may no longer be valid.
        Overrides:
        clone in class RenderBox