public double getWidth ( ) { String [ ] lines = getTextLines ( ) ; double max = 0 ; for ( String line : lines ) { max = Math . max ( max , ( double ) getMetrics ( ) . getTextFontWidth ( m_textField , line ) ) ; } return max ; }
Returns the width of this score element .