| java.lang.Object org.apache.fop.layoutmgr.table.CollapsingBorderModel
All known Subclasses: org.apache.fop.layoutmgr.table.CollapsingBorderModelEyeCatching,
CollapsingBorderModel | abstract public class CollapsingBorderModel (Code) | | This class is a superclass for the two collapsing border models defined
in the XSL 1.0 specification.
|
Field Summary | |
final protected static int | AFTER | final protected static int | BEFORE | final protected static int | END | final protected static int | START | final public static int | VERTICAL_START_END_OF_TABLE Flag: current grid unit is either start or end of the table. |
AFTER | final protected static int AFTER(Code) | | after side
|
BEFORE | final protected static int BEFORE(Code) | | before side
|
END | final protected static int END(Code) | | end side
|
START | final protected static int START(Code) | | start side
|
VERTICAL_START_END_OF_TABLE | final public static int VERTICAL_START_END_OF_TABLE(Code) | | Flag: current grid unit is either start or end of the table.
|
determineWinner | abstract public BorderInfo determineWinner(GridUnit current, GridUnit neighbour, int side, int flags)(Code) | | Determines the winning BorderInfo.
Parameters: current - grid unit of the current element Parameters: neighbour - grid unit of the neighbouring element the winning BorderInfo |
getBorderModelFor | public static CollapsingBorderModel getBorderModelFor(int borderCollapse)(Code) | | Parameters: borderCollapse - border collapse control the border model for the cell |
getOtherSide | public static int getOtherSide(int side)(Code) | | Parameters: side - the side on the current cell the adjacent side on the neighbouring cell |
getPreferenceValue | public int getPreferenceValue(int style)(Code) | | See rule 4 in 6.7.10 for the collapsing border model.
Parameters: style - the border style to get the preference value for the preference value of the style |
isVerticalRelation | protected boolean isVerticalRelation(int side)(Code) | | Parameters: side - the side to investigate true if the adjacent cell is before or after |
|
|