Class RootLayoutArea

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class RootLayoutArea
    extends LayoutArea
    implements java.lang.Cloneable
    Represents the root layout area.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean emptyArea
      Indicates whether the area already has some placed content or not.
    • Constructor Summary

      Constructors 
      Constructor Description
      RootLayoutArea​(int pageNumber, Rectangle bBox)
      Creates the root layout area.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LayoutArea clone()
      Creates a "deep copy" of this RootLayoutArea, meaning the object returned by this method will be independent of the object being cloned.
      boolean isEmptyArea()
      Indicates whether the area already has some placed content or not.
      void setEmptyArea​(boolean emptyArea)
      Defines whether the area already has some placed content or not.
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • emptyArea

        protected boolean emptyArea
        Indicates whether the area already has some placed content or not.
    • Constructor Detail

      • RootLayoutArea

        public RootLayoutArea​(int pageNumber,
                              Rectangle bBox)
        Creates the root layout area.
        Parameters:
        pageNumber - the value number of page
        bBox - the bounding box
    • Method Detail

      • isEmptyArea

        public boolean isEmptyArea()
        Indicates whether the area already has some placed content or not.
        Returns:
        whether the area is empty or not
      • setEmptyArea

        public void setEmptyArea​(boolean emptyArea)
        Defines whether the area already has some placed content or not.
        Parameters:
        emptyArea - indicates whether the area already has some placed content or not.
      • clone

        public LayoutArea clone()
        Creates a "deep copy" of this RootLayoutArea, meaning the object returned by this method will be independent of the object being cloned. Note that although the return type of this method is LayoutArea, the actual type of the returned object is RootLayoutArea.
        Overrides:
        clone in class LayoutArea
        Returns:
        the copied RootLayoutArea.