@ Api public void setScales ( Double ... scales ) { // Sort decreasing and store the list: Arrays . sort ( scales , Collections . reverseOrder ( ) ) ; scaleList = Arrays . asList ( scales ) ; // Apply the requested scales on the SelectItem. Make sure only available scales are added: updateScaleList ( ) ; }
Set the specified relative scale values in the select item .