Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.newtable
Class CollapsedBorderValue

java.lang.Object
  extended by org.xhtmlrenderer.newtable.CollapsedBorderValue

public class CollapsedBorderValue
extends java.lang.Object

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
CollapsedBorderValue(IdentValue style, int width, FSColor color, int precedence)
           
 
Method Summary
static 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)
           
 FSColor color()
           
 boolean defined()
           
 boolean exists()
           
 boolean hidden()
           
 int precedence()
           
 void setColor(FSColor color)
           
 void setPrecedence(int precedence)
           
 void setStyle(IdentValue style)
           
 void setWidth(int width)
           
 IdentValue style()
           
 int width()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollapsedBorderValue

public CollapsedBorderValue(IdentValue style,
                            int width,
                            FSColor color,
                            int precedence)
Method Detail

color

public FSColor color()

setColor

public void setColor(FSColor color)

style

public IdentValue style()

setStyle

public void setStyle(IdentValue style)

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()

hidden

public boolean hidden()

borderLeft

public static CollapsedBorderValue borderLeft(BorderPropertySet border,
                                              int precedence)

borderRight

public static CollapsedBorderValue borderRight(BorderPropertySet border,
                                               int precedence)

borderTop

public static CollapsedBorderValue borderTop(BorderPropertySet border,
                                             int precedence)

borderBottom

public static CollapsedBorderValue borderBottom(BorderPropertySet border,
                                                int precedence)

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home