public RegionPageSectionBuilder region ( final PageSectionContent . Region region ) { switch ( region ) { case LEFT : // Use left region this . curRegionBox = this . leftRegionBox ; break ; case CENTER : // Use center region this . curRegionBox = this . centerRegionBox ; break ; case RIGHT : // Use right region this . curRegionBox = this . rightRegionBox ; break ; default : // Invalid footerRegionValue, use center region as default throw new IllegalStateException ( ) ; } return this ; }
Switch to a new region