Class LayoutManagerMapping

    • Constructor Detail

      • LayoutManagerMapping

        public LayoutManagerMapping()
        default constructor
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the set of maker objects associated with this LayoutManagerMapping
      • registerMaker

        protected void registerMaker​(java.lang.Class clazz,
                                     LayoutManagerMapping.Maker maker)
        Registers a Maker class for a specific formatting object.
        Parameters:
        clazz - the formatting object class
        maker - the maker for the layout manager
      • makeLayoutManagers

        public void makeLayoutManagers​(FONode node,
                                       java.util.List lms)
        Make LayoutManagers for the node and add them to the list lms.
        Specified by:
        makeLayoutManagers in interface LayoutManagerMaker
        Parameters:
        node - the FO node for which the LayoutManagers are made
        lms - the list to which the LayoutManagers are added
      • makeLayoutManager

        public LayoutManager makeLayoutManager​(FONode node)
        Make a specific LayoutManager for the node. If not exactly one LayoutManagers is available, an IllegalStateException is thrown.
        Specified by:
        makeLayoutManager in interface LayoutManagerMaker
        Parameters:
        node - the FO node for which the LayoutManagers are made
        Returns:
        The created LayoutManager