Class VerticalFillList

  • All Implemented Interfaces:
    FillComponent, JRFillCloneable

    public class VerticalFillList
    extends BaseFillList
    Vertical fill list component implementation.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Method Detail

      • prepare

        public FillPrepareResult prepare​(int availableHeight)
        Description copied from interface: FillComponent
        Prepares to fill the component by deciding whether the component will print, and how much vertical space it will require.
        Parameters:
        availableHeight - the amount of vertical space available for the component, starting from the top of the component element.
        Returns:
        the result of the preparation, which specifies whether the component will print and how much it will stretch vertically.
      • fillContents

        protected boolean fillContents​(int availableHeight)
                                throws JRException
        Throws:
        JRException
      • createClone

        public JRFillCloneable createClone​(JRFillCloneFactory factory)
        Description copied from interface: JRFillCloneable
        Creates a working clone of itself.
        Parameters:
        factory - the clone factory to use while creating the clone
        Returns:
        a working clone of itself
      • rewind

        public void rewind()
        Description copied from class: BaseFillComponent
        The default implementation is empty.

        Override this method if something needs to be done on component rewind.

        Specified by:
        rewind in interface FillComponent
        Overrides:
        rewind in class BaseFillList