fop 0.91beta

org.apache.fop.layoutmgr.table
Class CollapsingBorderModelEyeCatching

java.lang.Object
  |
  +--org.apache.fop.layoutmgr.table.CollapsingBorderModel
        |
        +--org.apache.fop.layoutmgr.table.CollapsingBorderModelEyeCatching

public class CollapsingBorderModelEyeCatching
extends CollapsingBorderModel

Implements the normal "collapse" border model defined in 6.7.10 in XSL 1.0. TODO Column groups are not yet checked in this algorithm!


Fields inherited from class org.apache.fop.layoutmgr.table.CollapsingBorderModel
AFTER, BEFORE, END, START, VERTICAL_START_END_OF_TABLE
 
Constructor Summary
CollapsingBorderModelEyeCatching()
           
 
Method Summary
 CommonBorderPaddingBackground.BorderInfo determineWinner(GridUnit currentGridUnit, GridUnit otherGridUnit, int side, int flags)
          Determines the winning BorderInfo.
 
Methods inherited from class org.apache.fop.layoutmgr.table.CollapsingBorderModel
getBorderModelFor, getOtherSide, getPreferenceValue, isVerticalRelation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollapsingBorderModelEyeCatching

public CollapsingBorderModelEyeCatching()
Method Detail

determineWinner

public CommonBorderPaddingBackground.BorderInfo determineWinner(GridUnit currentGridUnit,
                                                                GridUnit otherGridUnit,
                                                                int side,
                                                                int flags)
Description copied from class: CollapsingBorderModel
Determines the winning BorderInfo.
Overrides:
determineWinner in class CollapsingBorderModel
Following copied from class: org.apache.fop.layoutmgr.table.CollapsingBorderModel
Parameters:
current - grid unit of the current element
neighbour - grid unit of the neighbouring element
Returns:
the winning BorderInfo

fop 0.91beta

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.