private static int [ ] maximumSizes ( Container container , List formSpecs , List [ ] componentLists , Measure minMeasure , Measure prefMeasure , Measure defaultMeasure ) { FormSpec formSpec ; int size = formSpecs . size ( ) ; int [ ] result = new int [ size ] ; for ( int i = 0 ; i < size ; i ++ ) { formSpec = ( FormSpec ) formSpecs . get ( i ) ; result [ i ] = formSpec . maximumSize ( container , componentLists [ i ] , minMeasure , prefMeasure , defaultMeasure ) ; } return result ; }
Computes and returns the sizes for the given form specs component lists and measures for minimum preferred and default size .