Class DesignListContents

    • Constructor Detail

      • DesignListContents

        public DesignListContents()
    • Method Detail

      • getHeight

        public int getHeight()
        Description copied from interface: ListContents
        Returns the height of the list contents.

        This value is used as a minimum list item height: if the space left on the page is smaller than the height, then an overflow is triggered and the list item is printed on a new page/column.

        Specified by:
        getHeight in interface ListContents
        Returns:
        the height of the list contents
      • setHeight

        public void setHeight​(int height)
        Sets the list contents height.
        Parameters:
        height - the list contents height
        See Also:
        getHeight()
      • getWidth

        public java.lang.Integer getWidth()
        Description copied from interface: ListContents
        Returns the width of the list contents.

        When the list is filled horizontally, several list cells will be placed on the same row one next to another within the width of the list element (unless the list element width is ignored). The width of the list contents will determine how many cells can be placed on a row.

        Specified by:
        getWidth in interface ListContents
        Returns:
        the width of the list contents
        See Also:
        ListComponent.getPrintOrderValue(), ListComponent.getIgnoreWidth()
      • setWidth

        public void setWidth​(java.lang.Integer width)
        Sets the width of the list contents.
        Parameters:
        width - the list contents width
        See Also:
        getWidth()