|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.layoutmgr.table.CollapsingBorderModel
public abstract class CollapsingBorderModel
This class is a superclass for the two collapsing border models defined in the XSL 1.0 specification.
Field Summary | |
---|---|
protected static int |
AFTER
after side |
protected static int |
BEFORE
before side |
protected static int |
END
end side |
protected static int |
START
start side |
static int |
VERTICAL_START_END_OF_TABLE
Flag: current grid unit is either start or end of the table. |
Constructor Summary | |
---|---|
CollapsingBorderModel()
|
Method Summary | |
---|---|
abstract CommonBorderPaddingBackground.BorderInfo |
determineWinner(GridUnit current,
GridUnit neighbour,
int side,
int flags)
Determines the winning BorderInfo. |
static CollapsingBorderModel |
getBorderModelFor(int borderCollapse)
|
static int |
getOtherSide(int side)
|
int |
getPreferenceValue(int style)
See rule 4 in 6.7.10 for the collapsing border model. |
protected boolean |
isVerticalRelation(int side)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int BEFORE
protected static final int AFTER
protected static final int START
protected static final int END
public static final int VERTICAL_START_END_OF_TABLE
Constructor Detail |
---|
public CollapsingBorderModel()
Method Detail |
---|
public static CollapsingBorderModel getBorderModelFor(int borderCollapse)
borderCollapse
- border collapse control
public static int getOtherSide(int side)
side
- the side on the current cell
protected boolean isVerticalRelation(int side)
side
- the side to investigate
public int getPreferenceValue(int style)
style
- the border style to get the preference value for
public abstract CommonBorderPaddingBackground.BorderInfo determineWinner(GridUnit current, GridUnit neighbour, int side, int flags)
current
- grid unit of the current elementneighbour
- grid unit of the neighbouring element
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |