question: protected void applyToBlock ( Block b ) { if ( b instanceof Title ) { applyToTitle ( ( Title ) b ) ; } else if ( b instanceof LabelBlock ) { LabelBlock lb = ( LabelBlock ) b ; lb . setFont ( this . regularFont ) ; lb . setPaint ( this . legendItemPaint ) ; } }
target:  Applies the attributes of this theme to the specified block.