Package com.jalios.jcms.jnews
Class PubDisplayStyleLayoutPredictive
java.lang.Object
com.jalios.jcms.jnews.PubDisplayStyleLayoutPredictive
- All Implemented Interfaces:
PubDisplayStyleLayout
A class to dynamically set up a layout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrunLayoutEngine(PubDisplayStyleBuilder pubDisplayStyleBuilder, boolean doMorePubs) Generate predictive layout
-
Constructor Details
-
PubDisplayStyleLayoutPredictive
-
-
Method Details
-
runLayoutEngine
public List<CssStyleLayout> runLayoutEngine(PubDisplayStyleBuilder pubDisplayStyleBuilder, boolean doMorePubs) Generate predictive layout- Specified by:
runLayoutEnginein interfacePubDisplayStyleLayout- Parameters:
pubDisplayStyleBuilder- publications settings for creation of carddoMorePubs- determines if this is the last page for displaying publications- Returns:
- a list of a object that associates a integer number with a css style for cards
-