public class CollapsingBorderModelEyeCatching extends CollapsingBorderModel
AFTER, BEFORE, END, START
Constructor and Description |
---|
CollapsingBorderModelEyeCatching() |
Modifier and Type | Method and Description |
---|---|
BorderSpecification |
determineWinner(BorderSpecification border1,
BorderSpecification border2)
Returns the border which wins the border conflict resolution.
|
BorderSpecification |
determineWinner(BorderSpecification border1,
BorderSpecification border2,
boolean discard)
Returns the border which wins the border conflict resolution.
|
getBorderModelFor, getOtherSide, isVerticalRelation
public BorderSpecification determineWinner(BorderSpecification border1, BorderSpecification border2, boolean discard)
determineWinner
in class CollapsingBorderModel
border1
- a border specificationborder2
- another border specificationdiscard
- true if the .conditionality component of the border width must be
taken into accountpublic BorderSpecification determineWinner(BorderSpecification border1, BorderSpecification border2)
determineWinner(border1, border2, false)
.determineWinner
in class CollapsingBorderModel
border1
- a border specificationborder2
- another border specificationdetermineWinner
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.