org.xhtmlrenderer.layout
Class CollapsedBorderSide

java.lang.Object
  extended by org.xhtmlrenderer.layout.CollapsedBorderSide
All Implemented Interfaces:
Comparable

public class CollapsedBorderSide
extends Object
implements Comparable

A class that contains a single border side of a collapsed cell. Collapsed border sides are painted in order of priority (so for example, wider borders always paint over narrower borders regardless of the relative tree order of the cells in question).


Constructor Summary
CollapsedBorderSide(TableCellBox cell, int side)
           
 
Method Summary
 int compareTo(Object obj)
           
 boolean equals(Object o)
           
 TableCellBox getCell()
           
 int getSide()
           
 int hashCode()
           
 void setCell(TableCellBox cell)
           
 void setSide(int side)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollapsedBorderSide

public CollapsedBorderSide(TableCellBox cell,
                           int side)
Method Detail

getCell

public TableCellBox getCell()

setCell

public void setCell(TableCellBox cell)

getSide

public int getSide()

setSide

public void setSide(int side)

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.