question: protected void refreshLegendLayout ( ) { double absoluteLegendDistance = 0.0 ; if ( MathUtils . isCalculatable ( legendDistance ) ) { absoluteLegendDistance = legendDistance * font . getSize2D ( ) ; } OuterEdgeLayout layout = new OuterEdgeLayout ( absoluteLegendDistance ) ; legendContainer . setLayout ( layout ) ; }
target:  Refreshes the positioning and spacing of the legend.