Package org.xhtmlrenderer.newtable
Class CollapsedBorderValue
java.lang.Object
org.xhtmlrenderer.newtable.CollapsedBorderValue
This class encapsulates all information related to a particular border side
along with an overall precedence (e.g. cell borders take precendence over
row borders). It is used when comparing overlapping borders when calculating
collapsed borders.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCollapsedBorderValue
(IdentValue style, int width, FSColor color, int precedence) -
Method Summary
Modifier and TypeMethodDescriptionstatic CollapsedBorderValue
borderBottom
(BorderPropertySet border, int precedence) static CollapsedBorderValue
borderLeft
(BorderPropertySet border, int precedence) static CollapsedBorderValue
borderRight
(BorderPropertySet border, int precedence) static CollapsedBorderValue
borderTop
(BorderPropertySet border, int precedence) color()
boolean
defined()
boolean
exists()
boolean
hidden()
int
void
void
setPrecedence
(int precedence) void
setStyle
(IdentValue style) void
setWidth
(int width) style()
int
width()
-
Field Details
-
_style
-
_width
private int _width -
_color
-
_precedence
private int _precedence
-
-
Constructor Details
-
CollapsedBorderValue
-
-
Method Details
-
color
-
setColor
-
style
-
setStyle
-
width
public int width() -
setWidth
public void setWidth(int width) -
precedence
public int precedence() -
setPrecedence
public void setPrecedence(int precedence) -
defined
public boolean defined() -
exists
public boolean exists() -
borderLeft
-
borderRight
-
borderTop
-
borderBottom
-