* Creates a <code>FunctionHelpLayout</code> for the given function.
*
*/
public FunctionHelpLayout(Function fcn) {
header = TextStyles.DefaultBoldLarger.makeLabel(fcn.getName());
displayer = new HtmlDisplayer();
setPreferredSize(new Dimension(400, 400));
displayer.setText(new FunctionHelpHtml(fcn).getFullDocumentation());
displayer.setCaretPosition(0);
}