Enum Class ScreenSize

java.lang.Object
java.lang.Enum<ScreenSize>
com.jbstrap.ui.bootstrap.ScreenSize
All Implemented Interfaces:
Serializable, Comparable<ScreenSize>, Constable

public enum ScreenSize extends Enum<ScreenSize>
Display types
Since:
4.0
Author:
JBStrap
  • Enum Constant Details

    • SMALL

      public static final ScreenSize SMALL

      Small Display

      Small devices (landscape phones, 576px and up)

    • MEDIUM

      public static final ScreenSize MEDIUM

      Medium Display

      Medium devices (tablets, 768px and up)

    • LARGE

      public static final ScreenSize LARGE

      Large Display

      Large devices (desktops, 992px and up)

    • EXRTA_LARGE

      public static final ScreenSize EXRTA_LARGE

      Extra large Display

      Extra large devices (large desktops, 1200px and up)

  • Method Details

    • values

      public static ScreenSize[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ScreenSize valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getModifier

      public String getModifier()
      Returns:
      The style class modifier or null if no modifer defined to the display type