public void setSectionsVisible ( final boolean SECTIONS_VISIBLE ) { sectionsVisible = SECTIONS_VISIBLE ; init ( getInnerBounds ( ) . width , getInnerBounds ( ) . height ) ; repaint ( getInnerBounds ( ) ) ; }
Sets the visibility of the sections . The sections could be defined by a start value a stop value and a color . One has to create a Section object from the class Section . The sections are stored in a ArrayList so there could be multiple . This might be a useful feature if you need to have exactly defined areas that you could not visualize with the track feature .