@ Override public int getRightBorder ( ) { Box box = getBox ( ) ; if ( box instanceof ElementBox ) return ( ( ElementBox ) box ) . getBorder ( ) . right ; else return 0 ; }
Obtains the right border of the box