protected void refreshLegendLayout(){
  double absoluteLegendDistance=0.0;
  if (MathUtils.isCalculatable(legendDistance)) {
    absoluteLegendDistance=legendDistance * font.getSize2D();
  }
  OuterEdgeLayout layout=new OuterEdgeLayout(absoluteLegendDistance);
  legendContainer.setLayout(layout);
}

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