Class ResponsiveConfiguration
- java.lang.Object
-
- com.day.cq.wcm.foundation.model.responsivegrid.ResponsiveConfiguration
-
@ProviderType public class ResponsiveConfiguration extends java.lang.Object
Configuration containing the list of all theBreakpoint
s of a given resource.
-
-
Constructor Summary
Constructors Constructor Description ResponsiveConfiguration()
ResponsiveConfiguration(java.util.Map<java.lang.String,Breakpoint> breakpoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBreakpoint(Breakpoint breakpoint)
Add a breakpoint to the list of breakpoints for the responsive configuration.java.util.Map<java.lang.String,Breakpoint>
getBreakpoints()
-
-
-
Constructor Detail
-
ResponsiveConfiguration
public ResponsiveConfiguration()
-
ResponsiveConfiguration
public ResponsiveConfiguration(java.util.Map<java.lang.String,Breakpoint> breakpoints)
-
-
Method Detail
-
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 java.util.Map<java.lang.String,Breakpoint> getBreakpoints()
- Returns:
- A map containing all the breakpoints (breakpoint name used as the key) for the responsive configuration.
-
-