Class Margin


  • public class Margin
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String bottom
      Bottom margin, accepts values labeled with units.
      java.lang.String left
      Left margin, accepts values labeled with units.
      java.lang.String right
      Right margin, accepts values labeled with units.
      java.lang.String top
      Top margin, accepts values labeled with units.
    • Constructor Summary

      Constructors 
      Constructor Description
      Margin()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Margin setBottom​(java.lang.String bottom)
      Bottom margin, accepts values labeled with units.
      Margin setLeft​(java.lang.String left)
      Left margin, accepts values labeled with units.
      Margin setRight​(java.lang.String right)
      Right margin, accepts values labeled with units.
      Margin setTop​(java.lang.String top)
      Top margin, accepts values labeled with units.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • top

        public java.lang.String top
        Top margin, accepts values labeled with units. Defaults to 0.
      • right

        public java.lang.String right
        Right margin, accepts values labeled with units. Defaults to 0.
      • bottom

        public java.lang.String bottom
        Bottom margin, accepts values labeled with units. Defaults to 0.
      • left

        public java.lang.String left
        Left margin, accepts values labeled with units. Defaults to 0.
    • Constructor Detail

      • Margin

        public Margin()
    • Method Detail

      • setTop

        public Margin setTop​(java.lang.String top)
        Top margin, accepts values labeled with units. Defaults to 0.
      • setRight

        public Margin setRight​(java.lang.String right)
        Right margin, accepts values labeled with units. Defaults to 0.
      • setBottom

        public Margin setBottom​(java.lang.String bottom)
        Bottom margin, accepts values labeled with units. Defaults to 0.
      • setLeft

        public Margin setLeft​(java.lang.String left)
        Left margin, accepts values labeled with units. Defaults to 0.