Package org.xhtmlrenderer.render
Class FloatDistances
java.lang.Object
org.xhtmlrenderer.render.FloatDistances
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
setLeftFloatDistance
(int leftFloatDistance) void
setRightFloatDistance
(int rightFloatDistance)
-
Field Details
-
_leftFloatDistance
private int _leftFloatDistance -
_rightFloatDistance
private int _rightFloatDistance
-
-
Constructor Details
-
FloatDistances
public FloatDistances()
-
-
Method Details
-
getLeftFloatDistance
public int getLeftFloatDistance() -
setLeftFloatDistance
public void setLeftFloatDistance(int leftFloatDistance) -
getRightFloatDistance
public int getRightFloatDistance() -
setRightFloatDistance
public void setRightFloatDistance(int rightFloatDistance)
-