Class FloatDistances


  • public class FloatDistances
    extends java.lang.Object
    A bean containing the distances that floated content takes up as measured from the left and right content edge of the containing block. Line boxes use this information to figure out where they need to position themselves within their containing block box.
    • Field Detail

      • _leftFloatDistance

        private int _leftFloatDistance
      • _rightFloatDistance

        private int _rightFloatDistance
    • Constructor Detail

      • FloatDistances

        public FloatDistances()
    • Method Detail

      • getLeftFloatDistance

        public int getLeftFloatDistance()
      • setLeftFloatDistance

        public void setLeftFloatDistance​(int leftFloatDistance)
      • getRightFloatDistance

        public int getRightFloatDistance()
      • setRightFloatDistance

        public void setRightFloatDistance​(int rightFloatDistance)