Class MinMaxWidthLayoutResult

    • Constructor Detail

      • MinMaxWidthLayoutResult

        public MinMaxWidthLayoutResult​(int status,
                                       LayoutArea occupiedArea,
                                       IRenderer splitRenderer,
                                       IRenderer overflowRenderer)
        Creates min and max width.
        Parameters:
        status - the status which indicates the content
        occupiedArea - the area occupied by the content
        splitRenderer - the renderer to draw the splitted part of the content
        overflowRenderer - the renderer to draw the overflowed part of the content
      • MinMaxWidthLayoutResult

        public MinMaxWidthLayoutResult​(int status,
                                       LayoutArea occupiedArea,
                                       IRenderer splitRenderer,
                                       IRenderer overflowRenderer,
                                       IRenderer cause)
        Creates min and max width.
        Parameters:
        status - the status which indicates the content
        occupiedArea - the area occupied by the content
        splitRenderer - the renderer to draw the splitted part of the content
        overflowRenderer - the renderer to draw the overflowed part of the content
        cause - the first renderer to produce LayoutResult.NOTHING
    • Method Detail

      • getMinMaxWidth

        public MinMaxWidth getMinMaxWidth()
        Gets min and max width.
        Returns:
        min and max width
      • setMinMaxWidth

        public MinMaxWidthLayoutResult setMinMaxWidth​(MinMaxWidth minMaxWidth)
        Sets min and max width.
        Parameters:
        minMaxWidth - min and max width
        Returns:
        min and max width