Class Breakpoint


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

      Constructors 
      Constructor Description
      Breakpoint​(java.lang.String name, int width, int offset, com.day.cq.wcm.foundation.model.responsivegrid.Breakpoint.ResponsiveBehavior behavior)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      int getOffset()  
      com.day.cq.wcm.foundation.model.responsivegrid.Breakpoint.ResponsiveBehavior getResponsiveBehavior()  
      int getWidth()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Breakpoint

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

      • getName

        public java.lang.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.