private void analyzeAreaSeparators ( AreaImpl area ) { boolean isep = area . isExplicitlySeparated ( ) || area . isBackgroundSeparated ( ) ; if ( isep || area . separatedUp ( ) ) bsep . add ( new Separator ( Separator . BOXH , area . getX1 ( ) , area . getY1 ( ) , area . getX2 ( ) , area . getY1 ( ) + ART_SEP_WIDTH - 1 ) ) ; if ( isep || area . separatedDown ( ) ) bsep . add ( new Separator ( Separator . BOXH , area . getX1 ( ) , area . getY2 ( ) - ART_SEP_WIDTH + 1 , area . getX2 ( ) , area . getY2 ( ) ) ) ; if ( isep || area . separatedLeft ( ) ) bsep . add ( new Separator ( Separator . BOXV , area . getX1 ( ) , area . getY1 ( ) , area . getX1 ( ) + ART_SEP_WIDTH - 1 , area . getY2 ( ) ) ) ; if ( isep || area . separatedRight ( ) ) bsep . add ( new Separator ( Separator . BOXV , area . getX2 ( ) - ART_SEP_WIDTH + 1 , area . getY1 ( ) , area . getX2 ( ) , area . getY2 ( ) ) ) ; }
Analyzes the area and detects the separators that are implemented as borders or background changes .