Class MarginProperties


  • public final class MarginProperties
    extends Object
    Provides properties for a margin. MarginProperties are immutable.
    • Constructor Detail

      • MarginProperties

        public MarginProperties​(String margin,
                                boolean spaceOnly)
    • Method Detail

      • append

        public MarginProperties append​(MarginProperties mp)
        Creates a new margin with the supplied margin appended.
        Parameters:
        mp - the margin to append
        Returns:
        the new margin
      • getContent

        public String getContent()
      • isSpaceOnly

        public boolean isSpaceOnly()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object