Class ResponsiveConfiguration

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

@ProviderType public class ResponsiveConfiguration extends Object
Configuration containing the list of all the Breakpoints of a given resource.
  • Constructor Details

    • ResponsiveConfiguration

      public ResponsiveConfiguration()
    • ResponsiveConfiguration

      public ResponsiveConfiguration(Map<String,Breakpoint> breakpoints)
  • Method Details

    • addBreakpoint

      public void addBreakpoint(Breakpoint breakpoint)
      Add a breakpoint to the list of breakpoints for the responsive configuration.
      Parameters:
      breakpoint - The breakpoint to be added to the responsive configuration.
    • getBreakpoints

      @Nonnull public Map<String,Breakpoint> getBreakpoints()
      Returns:
      A map containing all the breakpoints (breakpoint name used as the key) for the responsive configuration.