Class PubDisplayStyleLayoutPredictive

    • Constructor Detail

      • PubDisplayStyleLayoutPredictive

        public PubDisplayStyleLayoutPredictive​(java.lang.String layoutModel,
                                               int maxPub)
    • Method Detail

      • runLayoutEngine

        public java.util.List<CssStyleLayout> runLayoutEngine​(PubDisplayStyleBuilder pubDisplayStyleBuilder,
                                                              boolean doMorePubs)
        Generate predictive layout
        Specified by:
        runLayoutEngine in interface PubDisplayStyleLayout
        Parameters:
        pubDisplayStyleBuilder - publications settings for creation of card
        doMorePubs - 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