Interface BootstrapRowColumnsProperties

All Known Subinterfaces:
BootstrapRowControl

public interface BootstrapRowColumnsProperties
The BootstrapRowColumnsProperties interface represents the different row column widths used within the bootstrap framework.

Use this property to quickly specify the number of columns for each row that best renders your content and layout. The bootstrap default maximum number of row columns is 6.

Setting the value to -1 renders the columns using their natural width.

By default bootstrap defines the following breakpoints (it is possible to customise the number of columns by recompiling the bootstrap css but not the number of breakpoints): extra small : comes in when the browser is at least 0px wide (i.e. is the default). small : comes in when the browser is at least 576px wide. This represents a small screen width e.g. a phone. medium : comes in when the browser is at least 768px wide (i.e. is the default one) This represents a slightly bigger screen width, e.g. a tablet. large : comes in when the browser is at least 992px wide (i.e. is the default one). This represents a desktop-sized screen/browser. extra large : comes in when the browser is at least 1200px wide (i.e. is the default one). This represents an extra wide screen/browser extra extra large : comes in when the browser is at least 1400px wide (i.e. is the default one). This represents an extra wide screen/browser

It is not required to fill in the widths for every breakpoint - you could define the extra-small widths and the medium widths - the extra small widths will be in force until the browser is at least 768px wide and then the widths of the medium breakpoint will be used.

Further documentation.

Since:
V5.13
  • Method Summary

    Modifier and Type Method Description
    java.lang.Integer getExtraExtraLargeColumns()
    Gets the number of columns for extra extra large screens.
    java.lang.Integer getExtraLargeColumns()
    Gets the number of columns for extra large screens.
    java.lang.Integer getExtraSmallColumns()
    Gets the number of columns for extra-small screens.
    java.lang.Integer getLargeColumns()
    Gets the number of columns for large screens.
    java.lang.Integer getMediumColumns()
    Gets the number of columns for medium screens.
    java.lang.Integer getSmallColumns()
    Gets the number of columns for small screens.
    void setExtraExtraLargeColumns​(java.lang.Integer numberOfColumns)
    Sets the number of columns for extra large screens.
    void setExtraLargeColumns​(java.lang.Integer numberOfColumns)
    Sets the number of columns for extra large screens.
    void setExtraSmallColumns​(java.lang.Integer numberOfColumns)
    Sets the number of columns for extra-small screens.
    void setLargeColumns​(java.lang.Integer numberOfColumns)
    Gets the number of columns for large screens.
    void setMediumColumns​(java.lang.Integer numberOfColumns)
    Sets the number of columns for medium screens.
    void setSmallColumns​(java.lang.Integer numberOfColumns)
    Sets the number of columns for small screens.
  • Method Details

    • getExtraSmallColumns

      java.lang.Integer getExtraSmallColumns()
      Gets the number of columns for extra-small screens. Represents the row-cols-XX classes.
      Since:
      V5.13
    • setExtraSmallColumns

      void setExtraSmallColumns​(java.lang.Integer numberOfColumns)
      Sets the number of columns for extra-small screens. Represents the row-cols-XX classes.
      Parameters:
      numberOfColumns - : a positive integer representing the number of columns on each row, e.g row-cols-3. Setting 0 will cause the underlying class not to be written out. -1 will set the class row-cols-auto.
      Since:
      V5.13
    • getSmallColumns

      java.lang.Integer getSmallColumns()
      Gets the number of columns for small screens. Represents the row-cols-sm-XX classes.
      Since:
      V5.13
    • setSmallColumns

      void setSmallColumns​(java.lang.Integer numberOfColumns)
      Sets the number of columns for small screens. Represents the row-cols-sm-XX classes.
      Parameters:
      numberOfColumns - : a positive integer representing the number of columns on each row, e.g row-cols-3. Setting 0 will cause the underlying class not to be written out. -1 will set the class row-cols-auto.
      Since:
      V5.13
    • getMediumColumns

      java.lang.Integer getMediumColumns()
      Gets the number of columns for medium screens. Represents the row-cols-md-XX classes.
      Since:
      V5.13
    • setMediumColumns

      void setMediumColumns​(java.lang.Integer numberOfColumns)
      Sets the number of columns for medium screens. This represents the col-md-XX classes.
      Parameters:
      numberOfColumns - : a positive integer representing the number of columns on each row, e.g row-cols-3. Setting 0 will cause the underlying class not to be written out. -1 will set the class row-cols-auto.
      Since:
      V5.13
    • getLargeColumns

      java.lang.Integer getLargeColumns()
      Gets the number of columns for large screens. Represents the row-cols-lg-XX classes.
      Since:
      V5.13
    • setLargeColumns

      void setLargeColumns​(java.lang.Integer numberOfColumns)
      Gets the number of columns for large screens. This represents the row-cols-lg-XX classes.
      Parameters:
      numberOfColumns - : a positive integer representing the number of columns on each row, e.g row-cols-3. Setting 0 will cause the underlying class not to be written out. -1 will set the class row-cols-auto.
      Since:
      V5.13
    • getExtraLargeColumns

      java.lang.Integer getExtraLargeColumns()
      Gets the number of columns for extra large screens. Represents the row-cols-xl-XX classes.
      Since:
      V5.13
    • setExtraLargeColumns

      void setExtraLargeColumns​(java.lang.Integer numberOfColumns)
      Sets the number of columns for extra large screens. This represents the row-cols-xl-XX classes.
      Parameters:
      numberOfColumns - : a positive integer representing the number of columns on each row, e.g row-cols-3. Setting 0 will cause the underlying class not to be written out. -1 will set the class row-cols-auto.
      Since:
      V5.13
    • getExtraExtraLargeColumns

      java.lang.Integer getExtraExtraLargeColumns()
      Gets the number of columns for extra extra large screens. Represents the row-cols-xxl-XX classes.
      Since:
      V5.13
    • setExtraExtraLargeColumns

      void setExtraExtraLargeColumns​(java.lang.Integer numberOfColumns)
      Sets the number of columns for extra large screens. This represents the row-cols-xxl-XX classes.
      Parameters:
      numberOfColumns - : a positive integer representing the number of columns on each row, e.g row-cols-3. Setting 0 will cause the underlying class not to be written out. -1 will set the class row-cols-auto.
      Since:
      V5.13