public void setTickmarkSections ( final Section ... TICKMARK_SECTIONS_ARRAY ) { tickmarkSections . clear ( ) ; for ( Section tickmarkSection : TICKMARK_SECTIONS_ARRAY ) { tickmarkSections . add ( new Section ( tickmarkSection . getStart ( ) , tickmarkSection . getStop ( ) , tickmarkSection . getColor ( ) ) ) ; } validate ( ) ; fireStateChanged ( ) ; }
Sets the tickmark sections of the gauge to the given array of section objects