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.
-
Constructor Summary
ConstructorsConstructorDescriptionCollapsedBorderValue(IdentValue style, int width, FSColor color, int precedence) -
Method Summary
Modifier and TypeMethodDescriptionstatic CollapsedBorderValueborderBottom(BorderPropertySet border, int precedence) static CollapsedBorderValueborderLeft(BorderPropertySet border, int precedence) static CollapsedBorderValueborderRight(BorderPropertySet border, int precedence) static CollapsedBorderValueborderTop(BorderPropertySet border, int precedence) color()booleandefined()booleanexists()booleanhidden()intvoidvoidsetPrecedence(int precedence) voidsetStyle(IdentValue style) voidsetWidth(int width) style()intwidth()
-
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
-