private List < GaugeZoneAO > createDefaultZones ( ) { ArrayList < GaugeZoneAO > ret = new ArrayList <> ( 1 ) ; GaugeZoneAO redZone = new GaugeZoneAO ( ) ; redZone . setColor ( "red" ) ; redZone . setLeft ( 0.9f ) ; redZone . setRight ( 1.0f ) ; ret . add ( redZone ) ; return ret ; }
This method creates some default zones if nothing is configured .