java.lang.Object
com.day.cq.wcm.foundation.model.responsivegrid.Breakpoint

@ProviderType public class Breakpoint extends Object
Represents a responsive breakpoint. A breakpoint contains all the responsive properties for a given resource.
  • Constructor Details

    • Breakpoint

      public Breakpoint(String name, int width, int offset, com.day.cq.wcm.foundation.model.responsivegrid.Breakpoint.ResponsiveBehavior behavior)
  • Method Details

    • getName

      public String getName()
      Returns:
      The name of the breakpoint.
    • getWidth

      public int getWidth()
      Returns:
      The width (in number of columns) of the breakpoint.
    • getOffset

      public int getOffset()
      Returns:
      The offset (in number of columns) before the component.
    • getResponsiveBehavior

      public com.day.cq.wcm.foundation.model.responsivegrid.Breakpoint.ResponsiveBehavior getResponsiveBehavior()
      Returns:
      The Breakpoint.ResponsiveBehavior of the breakpoint.