Class Breakpoint
java.lang.Object
com.day.cq.wcm.foundation.model.responsivegrid.Breakpoint
Represents a responsive breakpoint. A breakpoint contains all the responsive properties for a given resource.
-
Constructor Summary
ConstructorsConstructorDescriptionBreakpoint
(String name, int width, int offset, com.day.cq.wcm.foundation.model.responsivegrid.Breakpoint.ResponsiveBehavior behavior) -
Method Summary
-
Constructor Details
-
Breakpoint
public Breakpoint(String name, int width, int offset, com.day.cq.wcm.foundation.model.responsivegrid.Breakpoint.ResponsiveBehavior behavior)
-
-
Method Details
-
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.
-