Interface FlexibleGridLayout.Builder

    • Method Detail

      • columns

        FlexibleGridLayout.Builder columns​(int columns)
        Parameters:
        columns - the number of columns
        Returns:
        this builder instance
      • rowsColumns

        FlexibleGridLayout.Builder rowsColumns​(int rows,
                                               int columns)
        Parameters:
        rows - the rows
        columns - the columns
        Returns:
        this builder instance
      • gap

        FlexibleGridLayout.Builder gap​(int gap)
        Parameters:
        gap - the horizontal and vertical gap to use
        Returns:
        this builder instance
      • horizontalGap

        FlexibleGridLayout.Builder horizontalGap​(int horizontalGap)
        Parameters:
        horizontalGap - the horizontal gap
        Returns:
        this builder instance
      • verticalGap

        FlexibleGridLayout.Builder verticalGap​(int verticalGap)
        Parameters:
        verticalGap - the vertical gap
        Returns:
        this builder instance
      • fixRowHeights

        FlexibleGridLayout.Builder fixRowHeights​(boolean fixRowHeights)
        Parameters:
        fixRowHeights - true if rows should have a fixed height according to the tallest component
        Returns:
        this builder instance
      • fixColumnWidths

        FlexibleGridLayout.Builder fixColumnWidths​(boolean fixColumnWidths)
        Parameters:
        fixColumnWidths - true if columns should have a fixed width according to the widest component
        Returns:
        this builder instance